Save This Page
Home » openjdk-7 » sun.rmi » server » [javadoc | source]
sun.rmi.server
public class: ActivatableServerRef [javadoc | source]
java.lang.Object
   sun.rmi.server.UnicastRef
      sun.rmi.server.UnicastServerRef
         sun.rmi.server.UnicastServerRef2
            sun.rmi.server.ActivatableServerRef

All Implemented Interfaces:
    Dispatcher, ServerRef, RemoteRef

Server-side ref for a persistent remote impl.
Fields inherited from sun.rmi.server.UnicastServerRef:
logCalls,  callLog
Fields inherited from sun.rmi.server.UnicastRef:
clientRefLog,  clientCallLog,  ref
Constructor:
 public ActivatableServerRef(ActivationID id,
    int port) 
    Construct a Unicast server remote reference to be exported on the specified port.
 public ActivatableServerRef(ActivationID id,
    int port,
    RMIClientSocketFactory csf,
    RMIServerSocketFactory ssf) 
    Construct a Unicast server remote reference to be exported on the specified port.
Method from sun.rmi.server.ActivatableServerRef Summary:
getClientRef,   getRefClass,   writeExternal
Methods from sun.rmi.server.UnicastServerRef2:
getClientRef,   getRefClass
Methods from sun.rmi.server.UnicastServerRef:
clearStackTraces,   dispatch,   exportObject,   exportObject,   getClientHost,   getClientRef,   getRefClass,   oldDispatch,   readExternal,   setSkeleton,   unmarshalCustomCallData,   writeExternal
Methods from sun.rmi.server.UnicastRef:
done,   getLiveRef,   getRefClass,   invoke,   invoke,   logClientCall,   marshalCustomCallData,   marshalValue,   newCall,   readExternal,   remoteEquals,   remoteHashCode,   remoteToString,   unmarshalValue,   writeExternal
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.rmi.server.ActivatableServerRef Detail:
 protected RemoteRef getClientRef() 
    Return the client remote reference for this remoteRef. In the case of a client RemoteRef "this" is the answer. For a server remote reference, a client side one will have to found or created.
 public String getRefClass(ObjectOutput out) 
    Returns the class of the ref type to be serialized
 public  void writeExternal(ObjectOutput out) throws IOException 
    Prevents serialization (because deserializaion is impossible).