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.
| 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 |
| Method from sun.rmi.server.ActivatableServerRef Detail: |
protected RemoteRef getClientRef() {
return new ActivatableRef(id, new UnicastRef2(ref));
}
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) {
return "ActivatableServerRef";
}
Returns the class of the ref type to be serialized |
public void writeExternal(ObjectOutput out) throws IOException {
throw new NotSerializableException(
"ActivatableServerRef not serializable");
}
Prevents serialization (because deserializaion is impossible). |