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.Statusorg.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeEvent, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopicAUTHENTICATION_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| Modifier and Type | Method and Description |
|---|---|
ArrayList<ServicePair> |
getBaseServiceForGhn() |
static ServiceContext |
getContext()
Returns cached instance
|
protected String |
getJNDIName() |
ArrayList<String> |
getSecondaryTypeGenericResourceRequired() |
protected void |
intializeDB() |
protected void |
onReady() |
void |
onShutdown() |
void |
setBaseServiceForGhn(ArrayList<ServicePair> baseServiceForGhn) |
void |
setSecondaryTypeGenericResourceRequired(String[] secondaryTypeGenericResourceRequired) |
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, onInitialisation, onStateChange, onUpdate, prepareCall, propagateCallerCredentials, removeScope, setAuthMethod, setScope, setScope, setScope, setSecurity, setStatus, subscribe, subscribeLifetTime, unsubscribe, unsubscribeLifetTime, useCallerCredentials, useCredentials, useCredentials, useCredentials, useServiceCredentialspublic static ServiceContext getContext()
protected String getJNDIName()
getJNDIName in class org.gcube.common.core.contexts.GCUBEServiceContextprotected void onReady()
throws Exception
onReady in class org.gcube.common.core.contexts.GCUBEServiceContextExceptionpublic void onShutdown()
throws Exception
onShutdown in class org.gcube.common.core.contexts.GCUBEServiceContextExceptionpublic ArrayList<String> getSecondaryTypeGenericResourceRequired()
public void setSecondaryTypeGenericResourceRequired(String[] secondaryTypeGenericResourceRequired)
public ArrayList<ServicePair> getBaseServiceForGhn()
public void setBaseServiceForGhn(ArrayList<ServicePair> baseServiceForGhn)
Copyright © 2017. All Rights Reserved.