public static interface JavaEEContextUtil.Instance extends ContextProducer.Instance
| Modifier and Type | Method and Description |
|---|---|
JavaEEContextUtil.Context |
pushContext()
pushes Java EE invocation context onto the invocation stack use
try-with-resources to pop the context
no-op if non-running context
|
JavaEEContextUtil.Context |
pushRequestContext()
pushes invocation context onto the stack Also creates Request scope
use try-with-resources to pop the context
no-op if non-running context
|
JavaEEContextUtil.Context |
setApplicationClassLoader()
set context class loader by component id of this instance
for empty or unloaded component, class loader remains unset and the
context is a no-op (no re-set gets done) so it's a no-op
|
clearInstanceInvocation, getInstanceComponentId, isEmpty, isLoadedJavaEEContextUtil.Context pushContext()
ContextProducer.InstancepushContext in interface ContextProducer.InstanceJavaEEContextUtil.Context pushRequestContext()
ContextProducer.InstancepushRequestContext in interface ContextProducer.InstanceJavaEEContextUtil.Context setApplicationClassLoader()
ContextProducer.InstancesetApplicationClassLoader in interface ContextProducer.InstanceCopyright © 2021. All rights reserved.