GigaSpaces XAP 9.7.2 API

net.jini.export
Interface ProxyAccessor

All Known Implementing Classes:
ESMImpl, GigaRegistrar, PUServiceBeanImpl, org.jini.rio.jsb.ServiceBeanAdapter, 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 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
 Object getProxy()
          Returns a proxy object for this remote object.
 

Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.