|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.rmi.registry.LocateRegistry
The LocateRegistry
class is a container class for methods that
are used to obtain a reference to a remote registry or to create a registry.
Method Summary | |
static Registry |
createRegistry(int port)
Creates and exports a Registry on the local host. |
static Registry |
createRegistry(int port,
RMIClientSocketFactory c,
RMIServerSocketFactory s)
Creates and exports a Registry on the local host. |
static Registry |
getRegistry()
Returns a reference to the remote Registry for the local
host on the default port. |
static Registry |
getRegistry(int port)
Returns a reference to the remote Registry for the local
host on the specified port. |
static Registry |
getRegistry(java.lang.String host)
Returns a reference to the remote Registry for the
specified host on the default port. |
static Registry |
getRegistry(java.lang.String host,
int port)
Returns a reference to the remote Registry for the
specified host on the specified port. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Registry getRegistry()
Registry
for the local
host on the default port.
public static Registry getRegistry(int port)
Registry
for the local
host on the specified port.
port
- the port on which the registry accepts requests
public static Registry getRegistry(java.lang.String host)
Registry
for the
specified host on the default port.
host
- host for the remote registry
public static Registry getRegistry(java.lang.String host, int port)
Registry
for the
specified host on the specified port.
host
- host for the remote registryport
- the port on which the registry accepts requests
public static Registry createRegistry(int port) throws RemoteException
Registry
on the local host.
This registry will accept requests on the specified port.
port
- the port on which the registry accepts requests
RemoteException
- if the registry could not be created.public static Registry createRegistry(int port, RMIClientSocketFactory c, RMIServerSocketFactory s) throws RemoteException
Registry
on the local host.
This registry will accept requests on the specified port.
port
- the port on which the registry accepts requestsc
- client socket factory (ignored in ibis)s
- server socket factory (ignored in ibis)
RemoteException
- if the registry could not be created.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |