|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.jndi.mipc.NameServiceProxy
public class NameServiceProxy
The underlying communication interface for remote contexts over the tcp connector.
| Constructor Summary | |
|---|---|
NameServiceProxy(org.exolab.core.ipc.Client connection)
|
|
| Method Summary | |
|---|---|
void |
bind(javax.naming.Name name,
java.lang.String className,
java.lang.Object object)
|
protected java.lang.Object |
checkReply(java.lang.String method)
A convenience method to check the success of operations which return a true on sucess. |
javax.naming.Context |
createSubcontext(javax.naming.Name name)
|
void |
destroySubcontext(javax.naming.Name name)
|
protected java.lang.String |
getClassName()
Return the Server class name that will handle this request. |
javax.naming.NameParser |
getNameParser()
|
javax.naming.NameClassPair[] |
list(javax.naming.Name name)
|
javax.naming.Binding[] |
listBindings(javax.naming.Name name)
|
java.lang.Object |
lookup(javax.naming.Name name)
|
protected java.util.Vector |
pack(java.lang.String method,
int numParams)
Pack all the data that is required by the server in a vector. |
void |
rebind(javax.naming.Name name,
java.lang.String className,
java.lang.Object object)
|
protected void |
send(java.util.Vector v)
A convenience method to send a packed command to the server. |
void |
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 NameServiceProxy(org.exolab.core.ipc.Client connection)
| Method Detail |
|---|
public javax.naming.NameParser getNameParser()
throws javax.naming.NamingException
getNameParser in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public void bind(javax.naming.Name name,
java.lang.String className,
java.lang.Object object)
throws javax.naming.NamingException
bind in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public void rebind(javax.naming.Name name,
java.lang.String className,
java.lang.Object object)
throws javax.naming.NamingException
rebind in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public javax.naming.Context createSubcontext(javax.naming.Name name)
throws javax.naming.NamingException
createSubcontext in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public void destroySubcontext(javax.naming.Name name)
throws javax.naming.NamingException
destroySubcontext in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public javax.naming.NameClassPair[] list(javax.naming.Name name)
throws javax.naming.NamingException
list in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public javax.naming.Binding[] listBindings(javax.naming.Name name)
throws javax.naming.NamingException
listBindings in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public java.lang.Object lookup(javax.naming.Name name)
throws javax.naming.NamingException
lookup in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
public void unbind(javax.naming.Name name)
throws javax.naming.NamingException
unbind in interface org.apache.avalon.excalibur.naming.NamingProviderjavax.naming.NamingException
protected java.util.Vector pack(java.lang.String method,
int numParams)
method - The function to activate on the server.numParams - The number of paramaters this method will require.
protected java.lang.String getClassName()
protected java.lang.Object checkReply(java.lang.String method)
throws javax.naming.NamingException
method - The requested server function.
javax.naming.NamingException - on any failure.
protected void send(java.util.Vector v)
throws javax.naming.NamingException
javax.naming.NamingException - on any failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||