|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectspace.voyager.Namespace
Namespace contains static methods that allow an identifier to be bound to an object for later lookup. An identifier can be a simple string, an URL indicating another Voyager server, a path in a directory, or a format recognized by one of Voyager's pluggable transport layers (such as a CORBA IOR). Once bound, an identifier can be rebound or unbound.
Method Summary | |
static void |
bind(java.lang.String name,
java.lang.Object object)
Bind a name to the specified object. |
static java.lang.Object |
lookup(java.lang.String name)
Return a proxy to the object associated with the specified name. |
static void |
rebind(java.lang.String name,
java.lang.Object object)
Rebind a name to the specified object. |
static void |
setServerURL(java.lang.Object obj)
Sets the URL to the server the Namespace will be communicating with to perform the naming calls. |
static void |
unbind(java.lang.String name)
Unbind the specified name. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static void setServerURL(java.lang.Object obj)
Object
- obj - If the parameter is an instance of a String class, the expected
format is //host:port. Both host and port are the mandatory elements
If the parameter is an instance of an Applet class, then
the codebase of the applet is obtained and used
to set the server's URL.public static java.lang.Object lookup(java.lang.String name) throws NamespaceException
name
- The name to lookup.public static void bind(java.lang.String name, java.lang.Object object) throws NamespaceException
name
- The name.object
- The object.public static void rebind(java.lang.String name, java.lang.Object object) throws NamespaceException
name
- The name.object
- The object.public static void unbind(java.lang.String name) throws NamespaceException
name
- The name.
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |