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

        if(namingStore instanceof WritableNamingStore) {
            final Name absoluteName = getAbsoluteName(name);
            getWritableNamingStore().unbind(absoluteName);
        } else {
            throw NamingLogger.ROOT_LOGGER.readOnlyNamingContext();
        }
    }
public void unbind(final Name name) throws NamingException {
        check(name, JndiPermission.ACTION_UNBIND);

        if(namingStore instanceof WritableNamingStore) {
            final Name absoluteName = getAbsoluteName(name);
            getWritableNamingStore().unbind(absoluteName);
        } else {
            throw NamingLogger.ROOT_LOGGER.readOnlyNamingContext();
        }
    }
public void unbind ( final Name name ) throws NamingException { check ( name , JndiPermission . ACTION_UNBIND ) ; if ( namingStore instanceof WritableNamingStore ) { final Name absoluteName = getAbsoluteName ( name ) ; getWritableNamingStore ( ) . unbind ( absoluteName ) ; } else { throw NamingLogger . ROOT_LOGGER . readOnlyNamingContext ( ) ; } }
{@inheritDoc}
{