| java.rmi.server.RemoteServer org.apache.harmony.rmi.registry.RegistryImpl
RegistryImpl | public class RegistryImpl extends RemoteServer implements Registry(Code) | | Transient Registry interface implementation.
It does not extend UnicastRemoteObject because all constructors of
UnicastRemoteObject export itself, but we need a special export for
objects with well-known ObjID numbers.
author: Mikhail A. Markov version: $Revision: 1.1.2.3 $ |
Field Summary | |
final public static ObjID | regId Registry Object ID. |
Constructor Summary | |
public | RegistryImpl() Constructs registry listening on default port and using default client
and server socket factories for RMI calls. | public | RegistryImpl(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) Constructs registry listening on the specified port and using specified
client and server socket factories for RMI calls. |
regId | final public static ObjID regId(Code) | | Registry Object ID.
|
RegistryImpl | public RegistryImpl() throws RemoteException(Code) | | Constructs registry listening on default port and using default client
and server socket factories for RMI calls.
throws: RemoteException - if the registry could not be exported |
RegistryImpl | public RegistryImpl(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException(Code) | | Constructs registry listening on the specified port and using specified
client and server socket factories for RMI calls.
Parameters: port - port to accept connections Parameters: csf - client-side socket factory Parameters: ssf - server-side socket factory throws: RemoteException - if the registry could not be exported |
main | public static void main(String[] args) throws Exception(Code) | | Starts rmiregistry on the specified port. If no port specified then
registry will be started on default port. This method ends with a
blocking construction to not let the VM exit.
Parameters: args - arguments which can contain port number |
|
|