com.gigaspaces.grid.space
Class GSContext

java.lang.Object
  extended by org.jini.rio.jsb.JSBContext
      extended by com.gigaspaces.grid.space.GSContext
All Implemented Interfaces:
org.jini.rio.core.jsb.ComputeResourceManager, org.jini.rio.core.jsb.ServiceBeanContext

public class GSContext
extends org.jini.rio.jsb.JSBContext

Provides an implementation of a ServiceBeanContext. This class is created by the GSContextFactory and provides the support necessary to produce SpaceAssociationManagement instances.


Constructor Summary
GSContext(org.jini.rio.core.ServiceElement sElem, org.jini.rio.core.jsb.ServiceBeanManager serviceBeanManager, java.lang.Object computeResource, net.jini.config.Configuration sharedConfig)
          Create a GSContext
 
Method Summary
 org.jini.rio.core.AssociationManagement getAssociationManagement()
           
 void setServiceElement(org.jini.rio.core.ServiceElement newElem)
          Override parent's setServiceElement to ensure the SpaceAssociationHandler is updated
 
Methods inherited from class org.jini.rio.jsb.JSBContext
addPlatformCapability, createPlatformCapability, getComponentLoader, getComputeResource, getComputeResourceManager, getConfiguration, getDiscoveryManagement, getExportCodebase, getInitParameter, getInitParameterNames, getMatchedMeasurableCapabilities, getMatchedPlatformCapabilities, getOperationalStringName, getPlatformCapability, getServiceBeanConfig, getServiceBeanManager, getServiceElement, getSharedConfiguration, getWatchRegistry, removePlatformCapabilities, removePlatformCapability, setServiceBeanManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSContext

public GSContext(org.jini.rio.core.ServiceElement sElem,
                 org.jini.rio.core.jsb.ServiceBeanManager serviceBeanManager,
                 java.lang.Object computeResource,
                 net.jini.config.Configuration sharedConfig)
Create a GSContext

Parameters:
sElem - The ServiceElement
serviceBeanManager - The ServiceBeanManager
computeResource - The ComputeResource object representing capabilities of the compute resource the service has been instantiated on
sharedConfig - Configuration from the "platform" which will be used as the shared configuration with an AggregateConfig
Method Detail

getAssociationManagement

public org.jini.rio.core.AssociationManagement getAssociationManagement()
Specified by:
getAssociationManagement in interface org.jini.rio.core.jsb.ServiceBeanContext
Overrides:
getAssociationManagement in class org.jini.rio.jsb.JSBContext
See Also:
ServiceBeanContext.getAssociationManagement()

setServiceElement

public void setServiceElement(org.jini.rio.core.ServiceElement newElem)
Override parent's setServiceElement to ensure the SpaceAssociationHandler is updated

Overrides:
setServiceElement in class org.jini.rio.jsb.JSBContext
Parameters:
newElem - The ServiceElement


Copyright (c) 2007 GigaSpaces Technologies, Inc.
All Rights Reserved.