|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface GCUBEScopeManager
The interface of managers of scope information within service implementations.
| Nested Class Summary | |
|---|---|
static class |
GCUBEScopeManager.IllegalScopeException
Deprecated. |
| Field Summary | |
|---|---|
static String |
CLASS_HEADER_NAME
Deprecated. Name of the service class call header. |
static GCUBEScopeManager |
DEFAULT
Deprecated. as to 1.6.0, use ScopeProvider.instance instead to manage the current scope. |
static String |
NAME_HEADER_NAME
Deprecated. Name of the service name call header. |
static String |
SCOPE_HEADER_NAME
Deprecated. Name of the scope call header. |
static String |
SCOPE_NS
Deprecated. Namespace of scope-related headers |
| Method Summary | |
|---|---|
GCUBEScope |
getScope()
Deprecated. as to 1.6.0, use ScopeProvider#instance#get() instead |
void |
prepareCall(Remote remote,
String clazz,
String name,
GCUBEScope... scope)
Deprecated. as to 1.6.0 calls are prepared internally to GCUBERemotePortTypeContexts.
Use GCUBERemotePortTypeContext#getProxy(Remote, org.gcube.common.core.security.GCUBESecurityManager...)
GCUBERemotePortTypeContext#getProxy(Remote, int org.gcube.common.core.security.GCUBESecurityManager...)
for calls from a client context. Use GCUBERemotePortTypeContext.getProxy(Remote, org.gcube.common.core.contexts.GCUBEServiceContext)
or GCUBERemotePortTypeContext#getProxy(Remote, org.gcube.common.core.contexts.GCUBEServiceContext, int)) for
calls from a service context. |
void |
setScope(GCUBEScope scope)
Deprecated. as to 1.6.0, use ScopeProvider#instance#set(String) instead |
void |
setScope(Thread thread,
GCUBEScope... scope)
Deprecated. as to 1.6.0 made superfluous by ScopeProvider.instance |
| Field Detail |
|---|
@Deprecated static final GCUBEScopeManager DEFAULT
ScopeProvider.instance instead to manage the current scope.GCUBEScopeManager
static final String CLASS_HEADER_NAME
static final String NAME_HEADER_NAME
static final String SCOPE_HEADER_NAME
static final String SCOPE_NS
| Method Detail |
|---|
void setScope(GCUBEScope scope)
throws GCUBEScopeManager.IllegalScopeException
ScopeProvider#instance#set(String) instead
scope - the scope.
GCUBEScopeManager.IllegalScopeException
@Deprecated
void setScope(Thread thread,
GCUBEScope... scope)
ScopeProvider.instance
thread - the thread.scope - (optional) the scope. If omitted, it defaults to the scope of the current thread.@Deprecated GCUBEScope getScope()
ScopeProvider#instance#get() instead
@Deprecated
void prepareCall(Remote remote,
String clazz,
String name,
GCUBEScope... scope)
GCUBERemotePortTypeContexts.
Use GCUBERemotePortTypeContext#getProxy(Remote, org.gcube.common.core.security.GCUBESecurityManager...)
GCUBERemotePortTypeContext#getProxy(Remote, int org.gcube.common.core.security.GCUBESecurityManager...)
for calls from a client context. Use GCUBERemotePortTypeContext.getProxy(Remote, org.gcube.common.core.contexts.GCUBEServiceContext)
or GCUBERemotePortTypeContext#getProxy(Remote, org.gcube.common.core.contexts.GCUBEServiceContext, int)) for
calls from a service context.
remote - the stub of the target port-type.clazz - the gCube class of the target service.name - the gCube name of the target service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||