/** * Add a {@code NamingListener} to the naming event coordinator. * * @param target The target name to add the listener to * @param scope The listener scope * @param listener The listener */ public void addNamingListener(final Name target, final int scope, final NamingListener listener) { final NamingEventCoordinator coordinator = eventCoordinator; if (coordinator != null) { coordinator.addListener(target.toString(), scope, listener); } }
/** * Add a {@code NamingListener} to the naming event coordinator. * * @param target The target name to add the listener to * @param scope The listener scope * @param listener The listener */ public void addNamingListener(final Name target, final int scope, final NamingListener listener) { final NamingEventCoordinator coordinator = eventCoordinator; if (coordinator != null) { coordinator.addListener(target.toString(), scope, listener); } }
/** * Add a {@code NamingListener} to the naming event coordinator. * * @param target The target name to add the listener to * @param scope The listener scope * @param listener The listener */ public void addNamingListener(final Name target, final int scope, final NamingListener listener) { final NamingEventCoordinator coordinator = eventCoordinator; if (coordinator != null) { coordinator.addListener(target.toString(), scope, listener); } }
/** * Add a {@code NamingListener} to the naming event coordinator. * * @param target The target name to add the listener to * @param scope The listener scope * @param listener The listener */ public void addNamingListener(final Name target, final int scope, final NamingListener listener) { final NamingEventCoordinator coordinator = eventCoordinator; if (coordinator != null) { coordinator.addListener(target.toString(), scope, listener); } }