org.gcube.datatransfer.agent.impl.context
Class AgentContext
java.lang.Object
org.gcube.common.core.contexts.GCUBEContext
org.gcube.common.core.contexts.GCUBEPortTypeContext
org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
org.gcube.datatransfer.agent.impl.context.AgentContext
public class AgentContext
- extends org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext
- Author:
- Andrea Manzi (CERN)
Nested classes/interfaces inherited from class org.gcube.common.core.contexts.GCUBEPortTypeContext |
org.gcube.common.core.contexts.GCUBEPortTypeContext.PTConsumer |
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 |
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 |
cache
protected static final AgentContext cache
getContext
public static AgentContext getContext()
- Returns:
- profile Context
getJNDIName
public final String getJNDIName()
- Specified by:
getJNDIName
in class org.gcube.common.core.contexts.GCUBEPortTypeContext
- Returns:
- the port type name
getNamespace
public final String getNamespace()
- Specified by:
getNamespace
in class org.gcube.common.core.contexts.GCUBEPortTypeContext
- Returns:
- the namespace
getServiceContext
public org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
- Specified by:
getServiceContext
in class org.gcube.common.core.contexts.GCUBEPortTypeContext
- Returns:
- the ServiceContext
getAgent
public AgentResource getAgent()
throws Exception
- Throws:
Exception
createAgent
public AgentResource createAgent()
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.