GigaSpaces XAP 10.0.1 API

org.openspaces.pu.container.servicegrid
Class PUServiceBeanProxy

java.lang.Object
  extended by org.jini.rio.resources.servicecore.AbstractProxy
      extended by org.openspaces.pu.container.servicegrid.PUServiceBeanProxy
All Implemented Interfaces:
com.gigaspaces.grid.zone.GridZoneProvider, com.gigaspaces.internal.jvm.JVMInfoProvider, com.gigaspaces.internal.os.OSInfoProvider, com.gigaspaces.lrmi.nio.info.NIOInfoProvider, ServiceProxyAccessor, Serializable, Remote, Administrable, ReferentUuid, SameProxyVersionProvider, org.jini.rio.core.jsb.ServiceState, org.jini.rio.core.MonitorableService, org.jini.rio.event.EventProducer, org.jini.rio.resources.servicecore.Service, org.jini.rio.watch.Watchable, PUServiceBean

public class PUServiceBeanProxy
extends org.jini.rio.resources.servicecore.AbstractProxy
implements PUServiceBean

Author:
kimchy
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jini.rio.resources.servicecore.AbstractProxy
server, uuid
 
Constructor Summary
protected PUServiceBeanProxy(PUServiceBean gsc, Uuid id)
          Private constructor
 
Method Summary
 ClusterInfo getClusterInfo()
           
 String getPresentationName()
           
 PUDetails getPUDetails()
           
 PUMonitors getPUMonitors()
           
 Object getServiceProxy()
          Returns a proxy object for this object.
 IJSpace getSpaceDirect(ServiceID serviceID)
           
 com.j_spaces.core.admin.RuntimeHolder getSpaceRuntimeHolder(ServiceID serviceID)
           
 com.j_spaces.core.filters.StatisticsHolder getSpaceStatisticsHolder(ServiceID serviceID)
           
 int getState()
           
 Future<Object> invoke(String serviceBeanName, Map<String,Object> namedArgs)
           
 boolean isAlive()
          Return true if the member is alive or not.
 boolean isMemberAliveEnabled()
          Should this member be checked to see if it is alive or not.
 boolean isStopping()
           
 Object[] listServiceDetails()
           
 com.gigaspaces.cluster.activeelection.SpaceMode[] listSpacesModes()
           
 SpaceURL[] listSpacesURLs()
           
 
Methods inherited from class org.jini.rio.resources.servicecore.AbstractProxy
disableLRMIMonitoring, dumpBytes, enableLRMIMonitoring, equals, fetch, fetch, fetchLRMIMonitoringDetails, generateDump, generateDump, getAdmin, getCurrentTimestamp, getJVMDetails, getJVMStatistics, getNIODetails, getNIOStatistics, getOSDetails, getOSStatistics, getReferentUuid, getVersion, getZones, hashCode, intercept, isSecuredProxy, logEntriesDirect, login, monitor, ping, register, runGc, secureAdmin, startHeartbeat, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.gigaspaces.lrmi.nio.info.NIOInfoProvider
disableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatistics
 
Methods inherited from interface com.gigaspaces.internal.os.OSInfoProvider
getCurrentTimestamp, getOSDetails, getOSStatistics
 
Methods inherited from interface com.gigaspaces.internal.jvm.JVMInfoProvider
getJVMDetails, getJVMStatistics, runGc
 
Methods inherited from interface com.gigaspaces.grid.zone.GridZoneProvider
getZones
 
Methods inherited from interface net.jini.admin.Administrable
getAdmin
 
Methods inherited from interface org.jini.rio.core.MonitorableService
monitor, ping, startHeartbeat
 
Methods inherited from interface org.jini.rio.event.EventProducer
register
 
Methods inherited from interface org.jini.rio.watch.Watchable
fetch, fetch
 

Constructor Detail

PUServiceBeanProxy

protected PUServiceBeanProxy(PUServiceBean gsc,
                             Uuid id)
Private constructor

Method Detail

isMemberAliveEnabled

public boolean isMemberAliveEnabled()
                             throws RemoteException
Description copied from interface: PUServiceBean
Should this member be checked to see if it is alive or not.

Specified by:
isMemberAliveEnabled in interface PUServiceBean
Throws:
RemoteException

isAlive

public boolean isAlive()
                throws RemoteException,
                       Exception
Description copied from interface: PUServiceBean
Return true if the member is alive or not. Exception indicates that the member is not alive (and allows for further information).

Specified by:
isAlive in interface PUServiceBean
Throws:
RemoteException
Exception

listServiceDetails

public Object[] listServiceDetails()
                            throws RemoteException
Specified by:
listServiceDetails in interface PUServiceBean
Throws:
RemoteException

getClusterInfo

public ClusterInfo getClusterInfo()
                           throws RemoteException
Specified by:
getClusterInfo in interface PUServiceBean
Throws:
RemoteException

getPresentationName

public String getPresentationName()
                           throws RemoteException
Specified by:
getPresentationName in interface PUServiceBean
Throws:
RemoteException

getPUDetails

public PUDetails getPUDetails()
                       throws RemoteException
Specified by:
getPUDetails in interface PUServiceBean
Throws:
RemoteException

getPUMonitors

public PUMonitors getPUMonitors()
                         throws RemoteException
Specified by:
getPUMonitors in interface PUServiceBean
Throws:
RemoteException

getSpaceDirect

public IJSpace getSpaceDirect(ServiceID serviceID)
                       throws RemoteException
Specified by:
getSpaceDirect in interface PUServiceBean
Throws:
RemoteException

getSpaceRuntimeHolder

public com.j_spaces.core.admin.RuntimeHolder getSpaceRuntimeHolder(ServiceID serviceID)
                                                            throws RemoteException
Specified by:
getSpaceRuntimeHolder in interface PUServiceBean
Throws:
RemoteException

getSpaceStatisticsHolder

public com.j_spaces.core.filters.StatisticsHolder getSpaceStatisticsHolder(ServiceID serviceID)
                                                                    throws RemoteException
Specified by:
getSpaceStatisticsHolder in interface PUServiceBean
Throws:
RemoteException

listSpacesURLs

public SpaceURL[] listSpacesURLs()
                          throws RemoteException
Specified by:
listSpacesURLs in interface PUServiceBean
Throws:
RemoteException

listSpacesModes

public com.gigaspaces.cluster.activeelection.SpaceMode[] listSpacesModes()
                                                                  throws RemoteException
Specified by:
listSpacesModes in interface PUServiceBean
Throws:
RemoteException

getState

public int getState()
             throws RemoteException
Specified by:
getState in interface org.jini.rio.core.jsb.ServiceState
Throws:
RemoteException

getServiceProxy

public Object getServiceProxy()
                       throws RemoteException
Description copied from interface: ServiceProxyAccessor
Returns a proxy object for this object. This value should not be null.

Specified by:
getServiceProxy in interface ServiceProxyAccessor
Returns:
a proxy object reference
Throws:
RemoteException

isStopping

public boolean isStopping()
                   throws RemoteException
Specified by:
isStopping in interface PUServiceBean
Throws:
RemoteException

invoke

public Future<Object> invoke(String serviceBeanName,
                             Map<String,Object> namedArgs)
                      throws RemoteException
Specified by:
invoke in interface PUServiceBean
Throws:
RemoteException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.