twcsckernel.projectbase.rmi.registry
Class RegistryImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by twcsckernel.projectbase.rmi.registry.RegistryImpl
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, Registry

public class RegistryImpl
extends java.rmi.server.RemoteServer
implements Registry

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface twcsckernel.projectbase.rmi.registry.Registry
REGISTRY_PORT
 
Constructor Summary
RegistryImpl(int i)
           
RegistryImpl(int i, java.rmi.server.RMIClientSocketFactory rmiclientsocketfactory, java.rmi.server.RMIServerSocketFactory rmiserversocketfactory)
           
 
Method Summary
static java.rmi.server.ObjID getID()
           
 java.rmi.Remote getRemoteServer()
           
 void registerRemoteServer(java.rmi.Remote server)
           
 
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
 

Constructor Detail

RegistryImpl

public RegistryImpl(int i)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

RegistryImpl

public RegistryImpl(int i,
                    java.rmi.server.RMIClientSocketFactory rmiclientsocketfactory,
                    java.rmi.server.RMIServerSocketFactory rmiserversocketfactory)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getID

public static java.rmi.server.ObjID getID()

getRemoteServer

public java.rmi.Remote getRemoteServer()
                                throws java.rmi.RemoteException,
                                       java.rmi.NotBoundException
Specified by:
getRemoteServer in interface Registry
Throws:
java.rmi.RemoteException
java.rmi.NotBoundException

registerRemoteServer

public void registerRemoteServer(java.rmi.Remote server)


Copyright © 2005-2006 CS@PUT. All Rights Reserved.