org.mmbase.bridge.remote.rmi
Class ServerMappedObject_Rmi<O>

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.mmbase.bridge.remote.rmi.ServerMappedObject_Rmi<O>
All Implemented Interfaces:
Serializable, Remote, Unreferenced, ServerMappedObject
Direct Known Subclasses:
RemoteIterator_Rmi, RemoteList_Rmi

public abstract class ServerMappedObject_Rmi<O>
extends UnicastRemoteObject
implements ServerMappedObject, Unreferenced

See Also:
Serialized Form
Javadoc:

Field Summary
(package private)  String mapperCode
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerMappedObject_Rmi(O originalObject)
           
 
Method Summary
 String getMapperCode()
           
protected  O getOriginalObject()
           
 void unreferenced()
           
 boolean wrapped_equals(Object arg0)
           
 int wrapped_hashCode()
           
 String wrapped_toString()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mapperCode

String mapperCode
Constructor Detail

ServerMappedObject_Rmi

public ServerMappedObject_Rmi(O originalObject)
                       throws RemoteException
Throws:
RemoteException
Method Detail

getMapperCode

public String getMapperCode()
Specified by:
getMapperCode in interface ServerMappedObject
Returns:
a value that when fed to the StubToLocalMapper returns the origirnal object

getOriginalObject

protected O getOriginalObject()

unreferenced

public void unreferenced()
Specified by:
unreferenced in interface Unreferenced

wrapped_toString

public String wrapped_toString()
Specified by:
wrapped_toString in interface ServerMappedObject

wrapped_hashCode

public int wrapped_hashCode()
Specified by:
wrapped_hashCode in interface ServerMappedObject

wrapped_equals

public boolean wrapped_equals(Object arg0)
                       throws RemoteException
Specified by:
wrapped_equals in interface ServerMappedObject
Throws:
RemoteException


MMBase 2.0-SNAPSHOT - null