public interface ProxyAccessor
This interface is typically used in conjunction with activatable
remote objects. An activatable remote object can implement this
interface so that its proxy can be obtained once the object is
activated. If an activatable remote object does not implement this
interface, it must define a constructor that takes as arguments an
ActivationID
and a MarshalledObject
, and it must be serializable and marshalling
the object produces a suitable proxy for the remote object.
Modifier and Type | Method and Description |
---|---|
Object |
getProxy()
Returns a proxy object for this remote object.
|
Object getProxy()
null
is returned.null