@Service @PerLookup public class JavaEEContextUtilImpl extends Object implements JavaEEContextUtil, Serializable
JavaEEContextUtil.Closeable, JavaEEContextUtil.Context| Constructor and Description |
|---|
JavaEEContextUtilImpl() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getInvocationClassLoader() |
String |
getInvocationComponentId() |
JavaEEContextUtil.Context |
pushContext()
pushes Java EE invocation context
|
JavaEEContextUtil.Context |
pushRequestContext()
pushes invocation context onto the stack
Also creates Request scope
|
void |
setApplicationClassLoader()
set context class loader by component ID
|
JavaEEContextUtil |
setInstanceComponentId(String componentId)
sets component ID for this instance and re-generates the invocation based on it
|
void |
setInstanceContext()
Sets the state of this instance from current invocation context
|
public JavaEEContextUtil.Context pushContext()
pushContext in interface JavaEEContextUtilpublic JavaEEContextUtil.Context pushRequestContext()
pushRequestContext in interface JavaEEContextUtilpublic void setApplicationClassLoader()
setApplicationClassLoader in interface JavaEEContextUtilpublic ClassLoader getInvocationClassLoader()
getInvocationClassLoader in interface JavaEEContextUtilpublic void setInstanceContext()
JavaEEContextUtilsetInstanceContext in interface JavaEEContextUtilpublic String getInvocationComponentId()
getInvocationComponentId in interface JavaEEContextUtilpublic JavaEEContextUtil setInstanceComponentId(String componentId)
JavaEEContextUtilsetInstanceComponentId in interface JavaEEContextUtilCopyright © 2017. All rights reserved.