org.gcube.vremanagement.resourcebroker.impl.contexts
Class StatefulBrokerContext

java.lang.Object
  extended by org.gcube.common.core.contexts.GCUBEContext
      extended by org.gcube.common.core.contexts.GCUBEPortTypeContext
          extended by org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
              extended by org.gcube.vremanagement.resourcebroker.impl.contexts.StatefulBrokerContext

public class StatefulBrokerContext
extends org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext

The context associated to the BrokerService used to keep persistence of internal resources.

Author:
Daniele Strollo (ISTI-CNR)

Constructor Summary
StatefulBrokerContext()
           
 
Method Summary
static org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext getContext()
           
 java.lang.String getJNDIName()
           
 java.lang.String getNamespace()
           
static org.gcube.common.core.state.GCUBEWSResourceKey getResPlanKey()
          Returns the unique key to use to retrieve from the scope the singleton persistent resource.
 org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
           
 
Methods inherited from class org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
getLocalHome, getPublicationProfile, getResourceLifeTime, getRPDName, getWSHome, makeKey
 
Methods inherited from class org.gcube.common.core.contexts.GCUBEPortTypeContext
getDeploymentDescriptor, getEPR, getFile, getName, getPersistentFile, getProperty, getSecurityDescriptor
 
Methods inherited from class org.gcube.common.core.contexts.GCUBEContext
debugContext, getResource, getTiming, printContext, resetTimer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulBrokerContext

public StatefulBrokerContext()
Method Detail

getJNDIName

public final java.lang.String getJNDIName()
Specified by:
getJNDIName in class org.gcube.common.core.contexts.GCUBEPortTypeContext

getNamespace

public final java.lang.String getNamespace()
Specified by:
getNamespace in class org.gcube.common.core.contexts.GCUBEPortTypeContext

getServiceContext

public final org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
Specified by:
getServiceContext in class org.gcube.common.core.contexts.GCUBEPortTypeContext

getContext

public static org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext getContext()
Returns:
the stateful context

getResPlanKey

public static org.gcube.common.core.state.GCUBEWSResourceKey getResPlanKey()
Returns the unique key to use to retrieve from the scope the singleton persistent resource.

Returns:
GCUBEWSResourceKey the key.