naming/src/main/java/org/jboss/as/naming/subsystem/NamingSubsystem10Parser.java
@Override
    public void readElement(XMLExtendedStreamReader reader, List<ModelNode> list) throws XMLStreamException {
        ParseUtils.requireNoAttributes(reader);
        ParseUtils.requireNoContent(reader);

        list.add(Util.createAddOperation(PathAddress.pathAddress(NamingExtension.SUBSYSTEM_PATH)));
        if(!appclient) {
            //we do not add remote naming to the application client
            //note that this is a bi
            list.add(Util.createAddOperation(PathAddress.pathAddress(NamingExtension.SUBSYSTEM_PATH).append(NamingSubsystemModel.SERVICE, NamingSubsystemModel.REMOTE_NAMING)));
        }
    }
@Override
    public void readElement(XMLExtendedStreamReader reader, List<ModelNode> list) throws XMLStreamException {
        ParseUtils.requireNoAttributes(reader);
        ParseUtils.requireNoContent(reader);

        list.add(Util.createAddOperation(PathAddress.pathAddress(NamingExtension.SUBSYSTEM_PATH)));
        if(!appclient) {
            //we do not add remote naming to the application client
            //note that this is a bi
            list.add(Util.createAddOperation(PathAddress.pathAddress(NamingExtension.SUBSYSTEM_PATH).append(NamingSubsystemModel.SERVICE, NamingSubsystemModel.REMOTE_NAMING)));
        }
    }
@ Override public void readElement ( XMLExtendedStreamReader reader , List < ModelNode > list ) throws XMLStreamException { ParseUtils . requireNoAttributes ( reader ) ; ParseUtils . requireNoContent ( reader ) ; list . add ( Util . createAddOperation ( PathAddress . pathAddress ( NamingExtension . SUBSYSTEM_PATH ) ) ) ; if ( ! appclient ) { //we do not add remote naming to the application client //note that this is a bi list . add ( Util . createAddOperation ( PathAddress . pathAddress ( NamingExtension . SUBSYSTEM_PATH ) . append ( NamingSubsystemModel . SERVICE , NamingSubsystemModel . REMOTE_NAMING ) ) ) ; } }
{@inheritDoc}
{