|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--weblogic.rmi.registry.LocateRegistry
This class is provided for compatibility with the java.rmi.* package.
The registry that is returned is a colocated object that invokes methods on the server-side, JNDI implementation.
| Method Summary | |
void |
bind(java.lang.String name,
Remote o)
Binds a name to a Remote object in the registry, unless the name is already bound in the registry. |
static Registry |
createRegistry(int port)
This method, which is provided for compatibility with the java.rmi package, returns the Tengah registry located on "localhost" at the specified port |
static Registry |
getRegistry()
This method, which is provided for compatibility with the java.rmi package, returns the Tengah registry located on "localhost". |
static Registry |
getRegistry(int port)
This method, which is provided for compatibility with the java.rmi package, returns the Tengah registry located on "localhost" at the specified port. |
static Registry |
getRegistry(java.lang.String name)
This method, which is provided for compatibility with the java.rmi package, returns the Tengah registry located on the specified host. |
static Registry |
getRegistry(java.lang.String name,
int port)
This method, which is provided for compatibility with the java.rmi package, returns the Tengah registry located on the specified host and port. |
java.lang.String[] |
list()
Returns an array of names (URLs) currently bound into the Tengah registry. |
Remote |
lookup(java.lang.String name)
Returns a Remote object (an initialized instance of a stub or the instance of a colocated object), if the object is found in the weblogic.rmi name space. |
void |
rebind(java.lang.String name,
Remote o)
Rebinds a name to a Remote object. |
void |
unbind(java.lang.String name)
Unbinds a name. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public Remote lookup(java.lang.String name)
throws RemoteException,
NotBoundException,
AccessException
name - Name of remote object to locate
public void bind(java.lang.String name,
Remote o)
throws RemoteException,
AlreadyBoundException,
AccessException
"Name" may be a full URL that follows conventional RMI naming procedures or a name for the object itself. The name you provide is regularized for use within the Tengah registry, following the general pattern:
t3://localhost:7001/nameForRemoteObjectwhere "t3://localhost:7001" is used as a default URL.
name - Name for the Remote objectimpl - Remote object to be named
public void unbind(java.lang.String name)
throws RemoteException,
NotBoundException,
AccessException
"Name" may be a full URL that follows conventional RMI naming procedures or a name for the object itself. The name you provide is regularized for use within the Tengah registry, following the general pattern:
t3://localhost:7001/nameForRemoteObjectwhere "t3://localhost:7001" is used as a default URL.
name - Name for the Remote object
public void rebind(java.lang.String name,
Remote o)
throws RemoteException,
AccessException
"Name" may be a full URL that follows conventional RMI naming procedures or a name for the object itself. The name you provide is regularized for use within the Tengah registry, following the general pattern:
t3://localhost:7001/nameForRemoteObjectwhere "t3://localhost:7001" is used as a default URL.
name - Name for the Remote objectobj - Remote object to be named
public java.lang.String[] list()
throws RemoteException,
AccessException
name - URL of the Tengah Server registry
public static Registry getRegistry()
throws RemoteException
public static Registry getRegistry(int port)
throws RemoteException
port - Port at which Tengah registry is located
public static Registry getRegistry(java.lang.String name)
throws RemoteException,
UnknownHostException
name - Name of Tengah host
public static Registry getRegistry(java.lang.String name,
int port)
throws RemoteException,
UnknownHostException
name - Name of Tengah hostport - Port at which Tengah registry is located
public static Registry createRegistry(int port)
throws RemoteException
port - Port at which Tengah registry is located
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||