Interface ServiceProxyAccessor
- All Known Subinterfaces:
IRemoteSpace, PUServiceBean, Registrar, TxnManager
- All Known Implementing Classes:
AbstractGigaSpacesService, AbstractService, GigaRegistrar, JSpaceServiceImpl, LRMISpaceImpl, PUServiceBeanImpl, PUServiceBeanProxy, ReplicationProxyGigaSpacesService, org.jini.rio.jsb.ServiceBeanAdapter, SpaceImpl, TransientMahaloImpl, TxnManagerImpl
public interface ServiceProxyAccessor
Provides a means to obtain a client-side proxy from a "base" service object.
This interface
is typically implemented by a service implementation and/or it's remote activatable reference, if
any, to allow the service to return the object of its choice for a client-side reference. When a
non-activatable service is created, NonActivatableServiceDescriptor.create(), returns the result from
<impl>.getServiceProxy(), if supported, where <impl> is the
service implementation instance. When an activatable service is created,
, returns the result of
invalid reference
SharedActivatableServiceDescriptor.create()<act_ref>.getServiceProxy(), if supported, where <act_ref>
is the service reference returned by the call to
.invalid reference
ActivationID.activate()
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a proxy object for this object.
-
Method Details
-
getServiceProxy
Returns a proxy object for this object. This value should not benull.- Returns:
- a proxy object reference
- Throws:
RemoteException
-