@Contract public interface JavaEEContextUtil extends ContextProducer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JavaEEContextUtil.Context |
static interface |
JavaEEContextUtil.Instance |
ContextProducer.Closeable| Modifier and Type | Method and Description |
|---|---|
JavaEEContextUtil.Instance |
currentInvocation()
captures current invocation and returns it as an instance
|
JavaEEContextUtil.Instance |
empty()
Creates an empty instance, i.e.
|
JavaEEContextUtil.Instance |
fromComponentId(String componentId) |
getInvocationClassLoader, getInvocationComponentId, isInvocationLoadedJavaEEContextUtil.Instance empty()
ContextProducerempty in interface ContextProducerJavaEEContextUtil.Instance currentInvocation() throws IllegalStateException
ContextProducercurrentInvocation in interface ContextProducerIllegalStateExceptionJavaEEContextUtil.Instance fromComponentId(String componentId) throws IllegalArgumentException
componentId - component id for this instance, non-nullIllegalArgumentExceptionCopyright © 2021. All rights reserved.