|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jnp.server.NamingServerWrapper
public class NamingServerWrapper
A delegating wrapper that can be used to create a unique rmi server endpoint that shares the an underlying Naming server implementation.
| 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 |
bind(Name name,
Object obj,
String className)
|
Context |
createSubcontext(Name name)
|
Collection |
list(Name name)
|
Collection |
listBindings(Name name)
|
Object |
lookup(Name name)
|
void |
rebind(Name name,
Object obj,
String className)
|
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. |
void |
unbind(Name name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void bind(Name name,
Object obj,
String className)
throws NamingException,
RemoteException
bind in interface NamingNamingException
RemoteException
public Context createSubcontext(Name name)
throws NamingException,
RemoteException
createSubcontext in interface NamingNamingException
RemoteException
public Collection list(Name name)
throws NamingException,
RemoteException
list in interface NamingNamingException
RemoteException
public Collection listBindings(Name name)
throws NamingException,
RemoteException
listBindings in interface NamingNamingException
RemoteException
public Object lookup(Name name)
throws NamingException,
RemoteException
lookup in interface NamingNamingException
RemoteException
public void rebind(Name name,
Object obj,
String className)
throws NamingException,
RemoteException
rebind in interface NamingNamingException
RemoteException
public void unbind(Name name)
throws NamingException,
RemoteException
unbind in interface NamingNamingException
RemoteException
public void addNamingListener(EventContext context,
Name target,
int scope,
NamingListener l)
throws NamingException,
RemoteException
NamingEvents
addNamingListener in interface NamingEventscontext - - 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.
RemoteExceptionNamingEvents.removeNamingListener(javax.naming.event.NamingListener)
public void removeNamingListener(NamingListener l)
throws NamingException,
RemoteException
NamingEvents
removeNamingListener in interface NamingEventsl - non-null listener.
NamingException - If a problem was encountered while
removing the listener.
RemoteExceptionNamingEvents.addNamingListener(javax.naming.event.EventContext, javax.naming.Name, int, javax.naming.event.NamingListener)
public boolean targetMustExist()
throws NamingException,
RemoteException
NamingEvents
targetMustExist in interface NamingEventsNamingException - 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 | |||||||||