org.gcube.vremanagement.resourcebroker.impl.contexts
Class StatefulBrokerContext
java.lang.Object
org.gcube.common.core.contexts.GCUBEContext
org.gcube.common.core.contexts.GCUBEPortTypeContext
org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
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)
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 |
StatefulBrokerContext
public StatefulBrokerContext()
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.