public class ServiceContext
extends org.gcube.common.core.contexts.GCUBEServiceContext
org.gcube.common.core.contexts.GCUBEServiceContext.IllegalStateTransitionException, org.gcube.common.core.contexts.GCUBEServiceContext.RILifetimeEvent, org.gcube.common.core.contexts.GCUBEServiceContext.RILifetimeTopic, org.gcube.common.core.contexts.GCUBEServiceContext.ServiceSecurityStatus, org.gcube.common.core.contexts.GCUBEServiceContext.Stager, org.gcube.common.core.contexts.GCUBEServiceContext.StateTransitionException, org.gcube.common.core.contexts.GCUBEServiceContext.Status
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeEvent, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic
Modifier and Type | Field and Description |
---|---|
protected static ServiceContext |
cache |
static int |
FILESXTHREAD |
static String |
JNDI_NAME |
static org.gcube.common.core.utils.events.GCUBEProducer<Events.TransferTopics,Object> |
transferEventproducer |
AUTHENTICATION_MANAGER_JNDI_NAME, AUTHORISATION_MANAGER_JNDI_NAME, CONFIG_DIR_JNDI_NAME, LISTENER_UPDATE_INTERVAL, LTEventProducer, PERSISTENCE_MANAGER_JNDI_NAME, PLUGIN_MANAGER_JNDI_NAME, PROFILE_FILE_NAME, PROPAGATE_CALLER_CREDENTIALS_JNDI_NAME, PUBLISHED_HOST_JNDI_NAME, PUBLISHED_PORT_JNDI_NAME, RIPROFILE_FILENAME, SECURITY_MANAGER_JNDI_NAME, START_SCOPES_JNDI_NAME
addScope, getAuthenticationManager, getAuthorizationManager, getCallerCredentials, getCredentials, getDefaultException, getDefaultException, getFile, getID, getInstance, getLogger, getManagementBean, getName, getPersistenceRoot, getPersistentFile, getPluginManager, getPolicy, getProperty, getScope, getScopeManager, getSecurityManager, getService, getServiceClass, getServiceCredentials, getServiceSecurityStatus, getStartScopes, getStatus, initialise, isSecurityEnabled, needServiceCredentials, notifyStateChange, onFailure, onShutdown, onStateChange, onUpdate, prepareCall, propagateCallerCredentials, removeScope, setAuthMethod, setScope, setScope, setScope, setSecurity, setStatus, subscribe, subscribeLifetTime, unsubscribe, unsubscribeLifetTime, useCallerCredentials, useCredentials, useCredentials, useCredentials, useServiceCredentials
public static final String JNDI_NAME
public static final int FILESXTHREAD
protected static final ServiceContext cache
public static org.gcube.common.core.utils.events.GCUBEProducer<Events.TransferTopics,Object> transferEventproducer
public String[] getSupportedTransfers() throws Exception
Exception
public static ServiceContext getContext()
public String getJNDIName()
getJNDIName
in class org.gcube.common.core.contexts.GCUBEServiceContext
protected void onInitialisation() throws Exception
onInitialisation
in class org.gcube.common.core.contexts.GCUBEServiceContext
Exception
public String getVfsRoot()
public DataTransferDBManager getDbManager()
public void setDbManager(DataTransferDBManager dbManager)
protected void onReady() throws Exception
onReady
in class org.gcube.common.core.contexts.GCUBEServiceContext
Exception
public boolean getUseMessaging()
public void setUseMessaging(boolean useMessaging)
public String getDbConfigurationFileName()
public void setDbConfigurationFileName(String dbConfigurationFileName)
public VFileSystemManager getLocalFSManager()
public String getAwsKeyID()
public void setAwsKeyID(String awsKeyID)
public String getAwsKey()
public void setAwsKey(String awsKey)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public int getTransferTimeout()
public void setTransferTimeout(int transferTimeout)
public int getRetryLimit()
public void setRetryLimit(int retryLimit)
public void setVfsRoot(String vfsRoot)
public org.gcube.datatransfer.common.messaging.MSGClient getMsgClient()
public void setMsgClient(org.gcube.datatransfer.common.messaging.MSGClient msgClient)
public int getIntervalForDBCheck()
public void setIntervalForDBCheck(int intervalForDBCheckInMS)
Copyright © 2015. All Rights Reserved.