Interface ProxyAccessor

All Known Implementing Classes:
GigaRegistrar, JSpaceServiceImpl, PUServiceBeanImpl, org.jini.rio.jsb.ServiceBeanAdapter, TransientMahaloImpl, TxnManagerImpl

public interface ProxyAccessor
Provides a means to obtain a proxy from an exported remote object.

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 java.rmi.activation.ActivationID and a MarshalledObject, and it must be serializable and marshalling the object produces a suitable proxy for the remote object.

Since:
2.0
Author:
Sun Microsystems, Inc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a proxy object for this remote object.
  • Method Details

    • getProxy

      Object getProxy()
      Returns a proxy object for this remote object. If this remote object is not exported (and hence, no proxy is available), then null is returned.
      Returns:
      a proxy, or null