public class DTSSManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static HashMap<org.gcube.common.core.scope.GCUBEScope,org.gcube.datatransformation.datatransformationlibrary.DTSCore> |
dCoreMap |
| Constructor and Description |
|---|
DTSSManager() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.datatransformation.datatransformationlibrary.DTSCore |
getDTSCore()
Returns the
DTSCore instance which is used in this scope. |
static org.gcube.common.core.scope.GCUBEScope |
getScope()
Returns the scope in which the transformationUnit operates.
|
static org.gcube.common.core.security.GCUBESecurityManager |
getSecurityManager()
Returns the security manager after setting to it the thread local credentials.
|
static void |
init(org.gcube.common.core.contexts.GCUBEServiceContext serviceContext)
Initializes the DTSSManager.
|
static void |
setScope(String scope)
Sets the scope in which the transformationUnit operates.
|
static void |
setSecurityManager(org.gcube.common.core.security.GCUBESecurityManager manager)
Sets the security manager which will be used by the service.
|
static void |
useCredentials(org.gcube.common.core.security.SecurityCredentials credentials)
Uses the credentials in the current thread.
|
protected static volatile HashMap<org.gcube.common.core.scope.GCUBEScope,org.gcube.datatransformation.datatransformationlibrary.DTSCore> dCoreMap
public static void setSecurityManager(org.gcube.common.core.security.GCUBESecurityManager manager)
manager - The security manager.public static org.gcube.common.core.security.GCUBESecurityManager getSecurityManager()
public static void useCredentials(org.gcube.common.core.security.SecurityCredentials credentials)
credentials - The credentials which will be used.public static org.gcube.common.core.scope.GCUBEScope getScope()
public static void setScope(String scope)
scope - the scope in which the transformationUnit operates.public static org.gcube.datatransformation.datatransformationlibrary.DTSCore getDTSCore()
throws org.gcube.common.core.faults.GCUBEFault
DTSCore instance which is used in this scope.DTSCore instance which is used in this scope.org.gcube.common.core.faults.GCUBEFault - If the service is not deployed in the scope in which the request is maid.Copyright © 2014. All Rights Reserved.