org.gcube.data.tm.context
Class TBinderContext

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.data.tm.context.PortTypeContext
                  extended by org.gcube.data.tm.context.TBinderContext

public class TBinderContext
extends PortTypeContext

The context of the T-Binder service.

Author:
Fabio Simeoni

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.contexts.GCUBEPortTypeContext
org.gcube.common.core.contexts.GCUBEPortTypeContext.PTConsumer
 
Field Summary
protected static TBinderContext singleton
          Singleton instance.
 
Fields inherited from class org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
LIFETIME_JNDI_NAME, profile, PUBLICATION_MODE_JNDI_PULL, PUBLICATION_MODE_JNDI_PUSH, PUBLICATIONPROFILE_JNDI_NAME, publicationStatus, RESOURCE_HOME_JNDI_NAME, RPDNAME_JNDI_NAME, WS_HOME_JNDI_NAME
 
Fields inherited from class org.gcube.common.core.contexts.GCUBEPortTypeContext
deploymentDescriptor, name, securityDescriptor, WSDD_FILE_NAME, WSSD_WSDD_NAME
 
Fields inherited from class org.gcube.common.core.contexts.GCUBEContext
logger, timers
 
Method Summary
 TBinderResource binder()
          Returns the TBinderResource of the service.
 TBinderResource createBinder()
          Creates the singleton TBinderResource of the service.
static TBinderContext getContext()
          Returns a context instance.
 String getJNDIName()
          
 org.gcube.common.core.state.GCUBEWSResourceKey key()
           
 
Methods inherited from class org.gcube.data.tm.context.PortTypeContext
getNamespace, getServiceContext
 
Methods inherited from class org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
getLocalHome, getPublicationProfile, getResourceLifeTime, getRPDName, getWSHome, makeKey, onInitialisation
 
Methods inherited from class org.gcube.common.core.contexts.GCUBEPortTypeContext
getDeploymentDescriptor, getEPR, getFile, getName, getPersistentFile, getProperty, getSecurityDescriptor, onFailure, onReady, onStateChange, onUpdate
 
Methods inherited from class org.gcube.common.core.contexts.GCUBEContext
debugContext, getJNDIContext, getResource, getTiming, printContext, resetTimer, setJNDIContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

protected static TBinderContext singleton
Singleton instance.

Method Detail

getContext

public static TBinderContext getContext()
Returns a context instance.

Returns:
the context

getJNDIName

public String getJNDIName()

Specified by:
getJNDIName in class org.gcube.common.core.contexts.GCUBEPortTypeContext

key

public org.gcube.common.core.state.GCUBEWSResourceKey key()

binder

public TBinderResource binder()
Returns the TBinderResource of the service.

Returns:
the resource

createBinder

public TBinderResource createBinder()
                             throws Exception
Creates the singleton TBinderResource of the service.

Throws:
Exception - if the engine could not be created


Copyright © 2012. All Rights Reserved.