public class EnginePTContext
extends org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
Engine port-type of the service.| Modifier and Type | Field and Description |
|---|---|
protected static EnginePTContext |
cache
Singleton instance.
|
static String |
PORTTYPE_NAME
Port-type JNDI name.
|
static String |
PORTTYPE_NAMESPACE
Port-type namespace.
|
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| Modifier and Type | Method and Description |
|---|---|
EngineResource |
createEngine()
Creates th singleton
EngineResource of the port-type. |
static EnginePTContext |
getContext()
Returns a context instance.
|
EngineResource |
getEngine()
Returns the singleton
EngineResource of the port-type.. |
String |
getJNDIName() |
String |
getNamespace() |
org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext() |
getLocalHome, getPublicationProfile, getResourceLifeTime, getRPDName, getWSHome, makeKey, onInitialisationgetDeploymentDescriptor, getEPR, getFile, getName, getPersistentFile, getProperty, getSecurityDescriptor, onFailure, onReady, onStateChange, onUpdatepublic static final String PORTTYPE_NAME
public static final String PORTTYPE_NAMESPACE
protected static EnginePTContext cache
public static EnginePTContext getContext()
public String getJNDIName()
getJNDIName in class org.gcube.common.core.contexts.GCUBEPortTypeContextpublic String getNamespace()
getNamespace in class org.gcube.common.core.contexts.GCUBEPortTypeContextpublic EngineResource getEngine() throws Exception
EngineResource of the port-type..Exception - if the engine could not be returned.public EngineResource createEngine() throws Exception
EngineResource of the port-type.Exception - if the engine could not be created.public org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
getServiceContext in class org.gcube.common.core.contexts.GCUBEPortTypeContextCopyright © 2015. All Rights Reserved.