java.lang.Object | |
↳ | sun.rmi.server.ActivatableRef |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
id | |||||||||||
ref |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new (empty) ActivatableRef
| |||||||||||
Create a ActivatableRef with the specified id
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This call is used by the old 1.1 stub protocol and is
unsupported since activation requires 1.2 stubs.
| |||||||||||
Returns the class of the ref type to be serialized
| |||||||||||
Returns the stub for the remote object whose class is
specified in the activation descriptor.
| |||||||||||
This call is used by the old 1.1 stub protocol and is
unsupported since activation requires 1.2 stubs.
| |||||||||||
Invoke method on remote object.
| |||||||||||
This call is used by the old 1.1 stub protocol and is
unsupported since activation requires 1.2 stubs.
| |||||||||||
Read in external representation for remote ref.
| |||||||||||
default implementation of equals for remote objects
| |||||||||||
default implementation of hashCode for remote objects
| |||||||||||
Method from object, forward from RemoteObject
| |||||||||||
Write out external representation for remote ref.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Create a new (empty) ActivatableRef
Create a ActivatableRef with the specified id
This call is used by the old 1.1 stub protocol and is unsupported since activation requires 1.2 stubs.
call | object representing remote call |
---|
RemoteException |
---|
Returns the class of the ref type to be serialized
out | the output stream to which the reference will be serialized |
---|
Returns the stub for the remote object whose class is specified in the activation descriptor. The ActivatableRef in the resulting stub has its activation id set to the activation id supplied as the second argument.
StubNotFoundException |
---|
This call is used by the old 1.1 stub protocol and is unsupported since activation requires 1.2 stubs.
call | object representing remote call |
---|
Exception |
---|
Invoke method on remote object. This method delegates remote method invocation to the underlying ref type. If the underlying reference is not known (is null), then the object must be activated first. If an attempt at method invocation fails, the object should force reactivation. Method invocation must preserve "at most once" call semantics. In RMI, "at most once" applies to parameter deserialization at the remote site and the remote object's method execution. "At most once" does not apply to parameter serialization at the client so the parameters of a call don't need to be buffered in anticipation of call retry. Thus, a method call is only be retried if the initial method invocation does not execute at all at the server (including parameter deserialization).
obj | the object that contains the RemoteRef (e.g., the RemoteStub for the object. |
---|---|
method | the method to be invoked |
params | the parameter list |
opnum | a hash that may be used to represent the method |
Exception |
---|
This call is used by the old 1.1 stub protocol and is unsupported since activation requires 1.2 stubs.
obj | remote stub through which to make call |
---|---|
ops | array of stub operations |
opnum | operation number |
hash | stub/skeleton interface hash |
RemoteException |
---|
Read in external representation for remote ref.
in | the stream to read data from in order to restore the object |
---|
ClassNotFoundException | If the class for an object being restored cannot be found. |
---|---|
IOException |
default implementation of equals for remote objects
ref | the Object to compare with |
---|
default implementation of hashCode for remote objects
Method from object, forward from RemoteObject
Write out external representation for remote ref.
out | the stream to write the object to |
---|
IOException |
---|