|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is delegate for the namepace system. Implement is to provide a different transport layer.
Method Summary | |
void |
bind(java.lang.String aName,
java.lang.Object aObject)
Binds the specified Object to the Specified name in this VM's Namespace. |
void |
bind(java.lang.String aName,
java.lang.Object aObject,
java.lang.String aHost,
java.lang.String aPort)
Binds the specified Object to the Specified name in the specified hosts VM's Namespace. |
java.lang.Object |
lookup(java.lang.String aHost,
java.lang.String aPort,
java.lang.String aName)
Performs a Peer to Peer lookup of a Object at the speicied host, the port on that host, and the name the object is bound to on that host. |
Method Detail |
public void bind(java.lang.String aName, java.lang.Object aObject) throws java.lang.Exception
aName
- the name with which to bind the specified object.aObject
- the Object to bind to the specified name.java.lang.Exception
- if there is an error during the binding of the specified
object.public void bind(java.lang.String aName, java.lang.Object aObject, java.lang.String aHost, java.lang.String aPort) throws java.lang.Exception
aName
- the name with which to bind the specified object.aObject
- the Object to bind to the specified name.aHost
- the name of the host with which to bind the specified object.aPort
- the port of the host with which to bind the specified object.java.lang.Exception
- if there is an error during the binding of the specified
object.public java.lang.Object lookup(java.lang.String aHost, java.lang.String aPort, java.lang.String aName) throws java.lang.Exception
aHost
- the name of the host with which to find the specified object.aPort
- the port of the host with which to find the specified object.aName
- the name with which to find the specified object.java.lang.Exception
- id there is an error during the lookup of the object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |