public interface ContextProducer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ContextProducer.Closeable |
static interface |
ContextProducer.Context |
static interface |
ContextProducer.Instance
specific, immutable, thread-safe instance of the context
|
| Modifier and Type | Method and Description |
|---|---|
ContextProducer.Instance |
currentInvocation()
captures current invocation and returns it as an instance
|
ContextProducer.Instance |
empty()
Creates an empty instance, i.e.
|
ClassLoader |
getInvocationClassLoader() |
String |
getInvocationComponentId() |
boolean |
isInvocationLoaded()
This is different from class loaded, as there are some situations
where class is loaded but initialization is not complete,
such as CDI initializations, extensions start, etc.
|
ContextProducer.Instance empty()
ContextProducer.Instance currentInvocation() throws IllegalStateException
IllegalStateExceptionClassLoader getInvocationClassLoader()
String getInvocationComponentId()
boolean isInvocationLoaded()
Copyright © 2021. All rights reserved.