bind(java.lang.String name,
java.lang.Object object) Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the bind(URLString urlString, Object object)
method.
static void
bind(URLString urlString,
java.lang.Object object)
binds the url string to the specified JSDT object.
static java.lang.String[]
list()
lists all the url strings of the known bound JSDT objects.
static java.lang.String[]
list(java.lang.String host,
java.lang.String connectionType)
lists all the url strings of the known bound JSDT objects on the given host.
static java.lang.Object
lookup(java.lang.String name) Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the lookup(URLString urlString) method.
static java.lang.Object
lookup(URLString urlString)
returns the JSDT object for the given url string.
static void
rebind(java.lang.String name,
java.lang.Object object) Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the rebind(URLString urlString, Object object)
method.
static void
rebind(URLString urlString,
java.lang.Object object)
rebinds the url string to a new object, replacing any existing binding.
static void
unbind(java.lang.String name,
java.lang.Object object) Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the unbind(URLString urlString) method.
static void
unbind(URLString urlString)
unbinds the object associated with this url string.
Methods inherited from class com.sun.media.jsdt.impl.JSDTObject
Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the bind(URLString urlString, Object object)
method.
binds the name to the specified JSDT object.
The name should be of the form:
jsdt://[:]///
where is the implementation type (eg. "socket"),
and where valid object types are "Session" and "Client".
So for example:
bind("jsdt://stard:3355/socket/Session/chatSession", chatSession);
bind("jsdt://stard:4386/socket/Client/fredClient", fredClient);
Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the rebind(URLString urlString, Object object)
method.
rebinds the name to a new object, replacing any existing binding.
Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the unbind(URLString urlString) method.
The name should be of the form:
jsdt://:///
where is the connection (or implementation) type
(eg. "socket", "http", "lrmp" or "rmi"),
and where valid object types are "Session" and "Client".
So for example:
Session session = lookup("jsdt://stard:3355/socket/Session/chatSession");
Client client = lookup("jsdt://stard:4386/socket/Client/fredClient");
Deprecated.This method is inconsistent with the way URL Strings are now
handled by the Naming class. As of JSDT 1.5, the preferred way to do
this is via the lookup(URLString urlString) method.
returns the JSDT object for the given name.
The name should be of the form:
jsdt://[:]///
where is the implementation type (eg. "socket"),
and where valid object types are "Session" and "Client".
So for example:
Session session = lookup("jsdt://stard:3355/socket/Session/chatSession");
Client client = lookup("jsdt://stard:4386/socket/Client/fredClient");