|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.server.mipc.NameServiceProvider
public class NameServiceProvider
This class is responsible for interpreting JNDI requests and delegating them to the server, and passing back any necessary replies.
NameServiceProxy
,
IpcJndiInitialContextFactory
Constructor Summary | |
---|---|
NameServiceProvider(javax.naming.Context context)
Construct a new NameServiceProvider |
Method Summary | |
---|---|
protected java.util.Vector |
bind(javax.naming.Name name,
java.lang.String className,
java.lang.Object object)
|
protected java.util.Vector |
createSubcontext(javax.naming.Name name)
|
protected java.util.Vector |
destroySubcontext(javax.naming.Name name)
|
void |
disconnection(java.lang.String id)
The connection has been broken. |
protected java.util.Vector |
getNameParser()
|
protected java.util.Vector |
list(javax.naming.Name name)
|
protected java.util.Vector |
listBindings(javax.naming.Name name)
|
protected java.util.Vector |
lookup(javax.naming.Name name)
|
java.io.Serializable |
notify(java.lang.Object object,
java.lang.String id)
A new request has been received. |
protected java.util.Vector |
pack(java.lang.Boolean success,
java.lang.Object ob)
Pack all the data that is required by the server in a vector. |
protected java.util.Vector |
rebind(javax.naming.Name name,
java.lang.String className,
java.lang.Object object)
|
protected java.util.Vector |
unbind(javax.naming.Name name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameServiceProvider(javax.naming.Context context)
NameServiceProvider
context
- the root contextMethod Detail |
---|
public java.io.Serializable notify(java.lang.Object object, java.lang.String id)
notify
in interface org.exolab.core.ipc.NotifierIfc
object
- The data received,id
- The id of the calling connection, not used by the client.
public void disconnection(java.lang.String id)
disconnection
in interface org.exolab.core.ipc.NotifierIfc
The
- unique identifier of this connection.protected java.util.Vector getNameParser() throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector bind(javax.naming.Name name, java.lang.String className, java.lang.Object object) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector rebind(javax.naming.Name name, java.lang.String className, java.lang.Object object) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector createSubcontext(javax.naming.Name name) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector destroySubcontext(javax.naming.Name name) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector list(javax.naming.Name name) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector listBindings(javax.naming.Name name) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector lookup(javax.naming.Name name) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector unbind(javax.naming.Name name) throws javax.naming.NamingException, java.lang.Exception
javax.naming.NamingException
java.lang.Exception
protected java.util.Vector pack(java.lang.Boolean success, java.lang.Object ob)
success
- Boolean indicating success or failure of request.ob
- The Object being returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |