naming/src/main/java/org/jboss/as/naming/NamingContext.java
public void destroySubcontext(final Name name) throws NamingException {
        check(name, JndiPermission.ACTION_DESTROY_SUBCONTEXT);

        if(!(namingStore instanceof WritableNamingStore)) {
            throw NamingLogger.ROOT_LOGGER.readOnlyNamingContext();
        }
    }
public void destroySubcontext(final Name name) throws NamingException {
        check(name, JndiPermission.ACTION_DESTROY_SUBCONTEXT);

        if(!(namingStore instanceof WritableNamingStore)) {
            throw NamingLogger.ROOT_LOGGER.readOnlyNamingContext();
        }
    }
public void destroySubcontext ( final Name name ) throws NamingException { check ( name , JndiPermission . ACTION_DESTROY_SUBCONTEXT ) ; if ( ! ( namingStore instanceof WritableNamingStore ) ) { throw NamingLogger . ROOT_LOGGER . readOnlyNamingContext ( ) ; } }
{@inheritDoc}
{