@Contract
public interface JavaEEContextUtil
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JavaEEContextUtil.Closeable |
static interface |
JavaEEContextUtil.Context |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getInvocationClassLoader() |
String |
getInvocationComponentId() |
JavaEEContextUtil.Context |
pushContext()
pushes Java EE invocation context onto the invocation stack
use Lombok @Cleanup or try-with-resources to pop the context
|
JavaEEContextUtil.Context |
pushRequestContext()
pushes invocation context onto the stack
Also creates Request scope
use Lombok @Cleanup or try-with-resources to pop the context
|
void |
setApplicationClassLoader()
set context class loader by internal state of this instance
|
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
|
JavaEEContextUtil.Context pushContext()
JavaEEContextUtil.Context pushRequestContext()
void setApplicationClassLoader()
void setInstanceContext()
JavaEEContextUtil setInstanceComponentId(String componentId)
componentId - ClassLoader getInvocationClassLoader()
String getInvocationComponentId()
Copyright © 2017. All rights reserved.