com.rmiproxy.registry
Class AbstractProxyRegistry
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--sun.rmi.registry.RegistryImpl
|
+--com.rmiproxy.registry.AbstractProxyRegistry
- All Implemented Interfaces:
- ProxyRegistry, java.rmi.registry.Registry, java.rmi.Remote, java.io.Serializable
- public abstract class AbstractProxyRegistry
- extends sun.rmi.registry.RegistryImpl
- implements ProxyRegistry
Abstract implementation class, for rmic. This is the "Abstract Server" pattern from
my book. The idea is that this class never changes unless the interface changes,
so the stub rarely changes either. Also, multiple implementations can be used
without requiring multiple stubs.
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface java.rmi.registry.Registry |
REGISTRY_PORT |
|
Constructor Summary |
protected |
AbstractProxyRegistry(int port)
Constructor |
protected |
AbstractProxyRegistry(int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf)
Constructor |
| Methods inherited from class sun.rmi.registry.RegistryImpl |
bind, checkAccess, getID, list, lookup, main, rebind, unbind |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.rmi.registry.Registry |
bind, list, lookup, rebind, unbind |
AbstractProxyRegistry
protected AbstractProxyRegistry(int port)
throws java.rmi.RemoteException
- Constructor
- Parameters:
port - Port- Throws:
java.rmi.RemoteException - export error
AbstractProxyRegistry
protected AbstractProxyRegistry(int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf)
throws java.rmi.RemoteException
- Constructor
- Parameters:
port - Portcsf - Client socket factoryssf - Server socket factory- Throws:
java.rmi.RemoteException - export error
Copyright © 2000, 2003 Telekinesis Pty Ltd, Box 82/85 Grattan St, Carlton 3053, Victoria, Australia. All rights reserved.