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

java.lang.Object
  extended by GCUBEStatefulPortTypeContext
      extended by org.gcube.vremanagement.resourcebroker.impl.contexts.StatefulBrokerContext

public class StatefulBrokerContext
extends 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 GCUBEStatefulPortTypeContext getContext()
           
 java.lang.String getJNDIName()
           
 java.lang.String getNamespace()
           
static GCUBEWSResourceKey getResPlanKey()
          Returns the unique key to use to retrieve from the scope the singleton persistent resource.
 GCUBEServiceContext getServiceContext()
           
 
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()

getNamespace

public final java.lang.String getNamespace()

getServiceContext

public final GCUBEServiceContext getServiceContext()

getContext

public static GCUBEStatefulPortTypeContext getContext()
Returns:
the stateful context

getResPlanKey

public static GCUBEWSResourceKey getResPlanKey()
Returns the unique key to use to retrieve from the scope the singleton persistent resource.

Returns:
GCUBEWSResourceKey the key.