naming/src/main/java/org/jboss/as/naming/NamingContext.java
public void addNamingListener(final Name target, final int scope, final NamingListener listener) throws NamingException {
        check(target, JndiPermission.ACTION_ADD_NAMING_LISTENER);
        namingStore.addNamingListener(target, scope, listener);
    }
public void addNamingListener(final Name target, final int scope, final NamingListener listener) throws NamingException {
        check(target, JndiPermission.ACTION_ADD_NAMING_LISTENER);
        namingStore.addNamingListener(target, scope, listener);
    }
public void addNamingListener ( final Name target , final int scope , final NamingListener listener ) throws NamingException { check ( target , JndiPermission . ACTION_ADD_NAMING_LISTENER ) ; namingStore . addNamingListener ( target , scope , listener ) ; }
{@inheritDoc}
{