|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamingEvents
An extended naming server/proxy that support events
EventContext| Method Summary | |
|---|---|
void |
addNamingListener(EventContext context,
Name target,
int scope,
NamingListener l)
Adds a listener for receiving naming events fired when the object(s) identified by a target and scope changes. |
void |
removeNamingListener(NamingListener l)
Removes a listener from receiving naming events |
boolean |
targetMustExist()
Determines whether a listener can register interest in a target that does not exist. |
| Methods inherited from interface org.jnp.interfaces.Naming |
|---|
bind, createSubcontext, list, listBindings, lookup, rebind, unbind |
| Method Detail |
|---|
void addNamingListener(EventContext context,
Name target,
int scope,
NamingListener l)
throws NamingException,
RemoteException
context - - the non-null EventContext the listener is registering withtarget - A non-null name to be resolved relative to this context.scope - One of OBJECT_SCOPE, ONELEVEL_SCOPE, or
SUBTREE_SCOPE.l - The non-null listener.
NamingException - If a problem was encountered while
adding the listener.
RemoteExceptionremoveNamingListener(javax.naming.event.NamingListener)
void removeNamingListener(NamingListener l)
throws NamingException,
RemoteException
l - non-null listener.
NamingException - If a problem was encountered while
removing the listener.
RemoteExceptionaddNamingListener(javax.naming.event.EventContext, javax.naming.Name, int, javax.naming.event.NamingListener)
boolean targetMustExist()
throws NamingException,
RemoteException
NamingException - If the context's behavior in this regard cannot
be determined.
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||