- CDIBean - Class in org.eclipse.microprofile.context.tck.cdi
-
- CDIBean() - Constructor for class org.eclipse.microprofile.context.tck.cdi.CDIBean
-
- CDIBean.AppProducedExecutor - Annotation Type in org.eclipse.microprofile.context.tck.cdi
-
- CDIBean.LabelContextPropagator - Annotation Type in org.eclipse.microprofile.context.tck.cdi
-
- CDIBean.Priority3Executor - Annotation Type in org.eclipse.microprofile.context.tck.cdi
-
- CDIBean.PriorityContext - Annotation Type in org.eclipse.microprofile.context.tck.cdi
-
- CdiBeanProducer - Class in org.eclipse.microprofile.context.tck.cdi
-
- CdiBeanProducer() - Constructor for class org.eclipse.microprofile.context.tck.cdi.CdiBeanProducer
-
- CDIContextTest - Class in org.eclipse.microprofile.context.tck.cdi
-
- CDIContextTest() - Constructor for class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
- clearedContext(Map<String, String>) - Method in class org.eclipse.microprofile.context.tck.contexts.buffer.spi.BufferContextProvider
-
Buffer context is considered cleared by associating a new empty StringBuffer with the thread.
- clearedContext(Map<String, String>) - Method in class org.eclipse.microprofile.context.tck.contexts.label.spi.LabelContextProvider
-
Cleared context is the empty string.
- clearedContext(Map<String, String>) - Method in class org.eclipse.microprofile.context.tck.contexts.priority.spi.ThreadPriorityContextProvider
-
Thread priority context is considered cleared by resetting to normal priority (Thread.NORM_PRIORITY).
- clearTransactionContextJTA() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that if JTA transactions are supported, then configuring cleared=TRANSACTION
results in the active transaction being suspended before running a task and resumed afterward,
such that a task can use its own transactions if so desired.
- clearUnspecifiedContexts() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that the ManagedExecutor implementation clears context
types that are not configured under propagated, or cleared.
- clearUnspecifiedContexts() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext implementation clears context
types that are not configured under propagated, unchanged, or cleared.
- completedFuture - Variable in class org.eclipse.microprofile.context.tck.MPConfigBean
-
- completedFutureDependentStagesRunWithContext() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that thread context is captured and propagated per the configuration of the
ManagedExecutor builder for all dependent stages of the completed future that is created
by the ManagedExecutor's completedFuture implementation.
- completedStageDependentStagesRunWithContext() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that thread context is captured and propagated per the configuration of the
ManagedExecutor builder for all dependent stages of the completed future that is created
by the ManagedExecutor's completedStage implementation.
- CONTEXT_NAME - Static variable in class org.eclipse.microprofile.context.tck.contexts.buffer.Buffer
-
- CONTEXT_NAME - Static variable in class org.eclipse.microprofile.context.tck.contexts.label.Label
-
- contextControlsForManagedExecutorBuilder() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify the MicroProfile Context Propagation implementation of propagate(), and cleared()
for ManagedExecutor.Builder.
- contextControlsForThreadContextBuilder() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify the MicroProfile Context Propagation implementation of propagate(), cleared(), and unchanged()
for ThreadContext.Builder.
- ContextManagerTest - Class in org.eclipse.microprofile.context.tck
-
- ContextManagerTest() - Constructor for class org.eclipse.microprofile.context.tck.ContextManagerTest
-
- contextOfContextualCallableOverridesContextOfManagedExecutor() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
When an already-contextualized Callable is specified as the action/task,
the action/task runs with its already-captured context rather than
capturing and applying context per the configuration of the managed executor.
- contextOfContextualConsumerAndBiFunctionOverrideContextOfManagedExecutor() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
When an already-contextualized Consumer or BiFunction is specified as the action/task,
the action/task runs with its already-captured context rather than
capturing and applying context per the configuration of the managed executor.
- contextOfContextualFunctionOverridesContextOfManagedExecutor() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
When an already-contextualized Function is specified as the action/task,
the action/task runs with its already-captured context rather than
capturing and applying context per the configuration of the managed executor.
- contextOfContextualRunnableOverridesContextOfManagedExecutor() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
When an already-contextualized Runnable is specified as the action/task,
the action/task runs with its already-captured context rather than
capturing and applying context per the configuration of the managed executor.
- contextOfContextualSuppplierAndBiConsumerOverrideContextOfManagedExecutor() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
When an already-contextualized Supplier or BiFunction is specified as the action/task,
the action/task runs with its already-captured context rather than
capturing and applying context per the configuration of the managed executor.
- contextSnapshot - Variable in class org.eclipse.microprofile.context.tck.MPConfigBean
-
- contextualBiConsumerRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualConsumer
method can be used to wrap a BiConsumer instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the BiConsumer accept method runs.
- contextualBiFunctionRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualFunction
method can be used to wrap a BiFunction instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the BiFunction apply method runs.
- contextualCallableRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualCallable
method can be used to wrap a Callable instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the Callable call method runs.
- contextualConsumerRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualConsumer
method can be used to wrap a Consumer instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the Consumer accept method runs.
- contextualFunctionRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualFunction
method can be used to wrap a Function instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the Function apply method runs.
- contextualRunnableRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualRunnable
method can be used to wrap a Runnable instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the Runnable run method runs.
- contextualSupplierRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's contextualSupplier
method can be used to wrap a Supplier instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied when the Supplier get method runs.
- ConversationScopedBean - Class in org.eclipse.microprofile.context.tck.cdi
-
- ConversationScopedBean() - Constructor for class org.eclipse.microprofile.context.tck.cdi.ConversationScopedBean
-
- copyCompletableFuture() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that we can copy a CompletableFuture and get context propagation in the copy's dependent stages.
- copyCompletionStage() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that we can copy a CompletionStage and get context propagation in the copy's dependent stages.
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.cdi.BasicCDITest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.ContextManagerTest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.MPConfigTest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.TckTest
-
- createDeployment() - Static method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
- createExec() - Method in class org.eclipse.microprofile.context.tck.cdi.CdiBeanProducer
-
- createExecutor() - Method in class org.eclipse.microprofile.context.tck.ProducerBean
-
- createPriority3Executor(ThreadContext) - Method in class org.eclipse.microprofile.context.tck.cdi.CdiBeanProducer
-
- currentContext(Map<String, String>) - Method in class org.eclipse.microprofile.context.tck.contexts.buffer.spi.BufferContextProvider
-
Save the buffer instance that is associated with the current thread.
- currentContext(Map<String, String>) - Method in class org.eclipse.microprofile.context.tck.contexts.label.spi.LabelContextProvider
-
Save the current context.
- currentContext(Map<String, String>) - Method in class org.eclipse.microprofile.context.tck.contexts.priority.spi.ThreadPriorityContextProvider
-
Save the current thread priority.
- currentContextExecutorRunsWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's currentContextExecutor
method can be used to create an Executor instance with the context that is captured from the
current thread per the configuration of the ThreadContext builder, and that the context is
applied to the thread where the Executor's execute method runs.
- TckTest - Class in org.eclipse.microprofile.context.tck
-
- TckTest() - Constructor for class org.eclipse.microprofile.context.tck.TckTest
-
- TckThread - Class in org.eclipse.microprofile.context.tck
-
- TckThread(Runnable) - Constructor for class org.eclipse.microprofile.context.tck.TckThread
-
- TckThreadFactory - Class in org.eclipse.microprofile.context.tck
-
- TckThreadFactory() - Constructor for class org.eclipse.microprofile.context.tck.TckThreadFactory
-
- testAppDefinedProducerOfThreadContext() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIBean
-
Application can provide producers of ThreadContext that are qualified.
- testAppDefinedProducerUsingInjectedThreadContext() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIBean
-
Application-defined producer methods can have injection points of ThreadContext.
- testAsyncTransaction() - Method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- testBasicExecutorUsable() - Method in class org.eclipse.microprofile.context.tck.cdi.BasicCDITest
-
- testBasicExecutorUsable() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIBean
-
Verify that injected ME instances are useable in a very basic way
- testCDIMECtxClearsConversationScopedBeans() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on Conversation scoped bean and verify
the state is cleared on the thread where the other task runs.
- testCDIMECtxClearsRequestScopedBean() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on Request scoped bean and verify
the state is cleared on the thread where the other task runs.
- testCDIMECtxClearsSessionScopedBeans() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on Session scoped bean and verify
the state is cleared on the thread where the other task runs.
- testCDIMECtxPropagatesConversationScopedBean() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on Conversation scoped beans and verify
the state is propagated to the thread where the other task runs.
- testCDIMECtxPropagatesRequestScopedBean() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on Request scoped bean and verify
the state is propagated to the thread where the other task runs.
- testCDIMECtxPropagatesSessionScopedBean() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on Session scoped bean and verify
the state is propagated to the thread where the other task runs.
- testCDITCCtxClear() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on a request scoped bean, then verify a contextualized callable
has the state cleared from it when ran on the same thread.
- testCDITCCtxPropagate() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIContextTest
-
Set some state on a request scoped bean, then verify a contextualized callable
has the state propagated to it when ran on the same thread.
- testConcurrentTransactionPropagation() - Method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- testRunWithTxnOfExecutingThread() - Method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- testTransaction() - Method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- testTransactionPropagation() - Method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- testTransactionWithUT() - Method in class org.eclipse.microprofile.context.tck.cdi.JTACDITest
-
- testVerifyInjection() - Method in class org.eclipse.microprofile.context.tck.cdi.BasicCDITest
-
- testVerifyInjection() - Method in class org.eclipse.microprofile.context.tck.cdi.CDIBean
-
Extra sanity check test to verify injection is occurring.
- thirdPartyContextProvidersAreIncludedInThreadContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the MicroProfile Context Propagation implementation finds third-party thread context providers
that are made available to the ServiceLoader, allows their configuration via the ThreadContext builder,
and correctly captures and propagates or clears these thread context types per the builder configuration.
- THREAD_PRIORITY - Static variable in class org.eclipse.microprofile.context.tck.contexts.priority.spi.ThreadPriorityContextProvider
-
- threadContextHasSamePropagationSettings() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that we can obtain a ThreadContext with the same settings as the ManagedExecutor
- ThreadContextTest - Class in org.eclipse.microprofile.context.tck
-
- ThreadContextTest() - Constructor for class org.eclipse.microprofile.context.tck.ThreadContextTest
-
- ThreadPriorityContextProvider - Class in org.eclipse.microprofile.context.tck.contexts.priority.spi
-
This is an example context type that is created by the test suite.
- ThreadPriorityContextProvider() - Constructor for class org.eclipse.microprofile.context.tck.contexts.priority.spi.ThreadPriorityContextProvider
-
- ThreadPrioritySnapshot - Class in org.eclipse.microprofile.context.tck.contexts.priority.spi
-
Represents a saved copy of 'thread priority' context.
- timedInvokeAllRunsTasksWithContext() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that thread context is captured and propagated per the configuration of the
ManagedExecutor builder for all tasks that are submitted via the ManagedExecutor's
timed invokeAll operation.
- timedInvokeAnyRunsTaskWithContext() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that thread context is captured and propagated per the configuration of the
ManagedExecutor builder for one or more tasks that are submitted via the ManagedExecutor's
timed invokeAny operation.
- toString() - Method in class org.eclipse.microprofile.context.tck.contexts.buffer.spi.BufferContextRestorer
-
- toString() - Method in class org.eclipse.microprofile.context.tck.contexts.buffer.spi.BufferContextSnapshot
-
- toString() - Method in class org.eclipse.microprofile.context.tck.contexts.priority.spi.ThreadPrioritySnapshot
-
- TransactionalBean - Interface in org.eclipse.microprofile.context.tck.cdi
-
- TransactionalBeanImpl - Class in org.eclipse.microprofile.context.tck.cdi
-
- TransactionalBeanImpl() - Constructor for class org.eclipse.microprofile.context.tck.cdi.TransactionalBeanImpl
-
- withContextCaptureDependentCompletableFuturesRunWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's withContextCapture
method can be used to create a dependent CompletableFuture instance that completes when the
original stage completes and runs dependent stage actions with context that is captured
from the thread that creates the dependent stage.
- withContextCaptureDependentCompletionStagesRunWithContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the ThreadContext's withContextCapture
method can be used to create a dependent CompletionStage instance that completes when the
original stage completes and runs dependent stage actions with context that is captured
from the thread that creates the dependent stage.
- withContextCaptureDependentStageForcedCompletion() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that dependent stages created via withContextCapture can be completed independently
of the original stage.
- withContextCaptureMultipleThreadContexts() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
The withContextCapture method should be able to create multiple dependent stages
having a single parent stage, where each of the dependent stages propagates a
different set of thread context.
- withContextCaptureSwitchThreadContext() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
The withContextCapture method should be able to create a dependent stage that is
associated with a thread context even if its parent stage is already associated with
a different thread context.
- withDefaultExecutorServiceContextCanInvokeAsyncActions() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the presence of a default executor service allows contextualised CompletableFuture/CompletionStage
to run async actions on them, and that they are running on that executor service.
- withDefaultExecutorServiceIsUsedDirectlyAndViaGetThreadContext() - Method in class org.eclipse.microprofile.context.tck.ManagedExecutorTest
-
Verify that the presence of a default executor service implies async actions run on it.
- withoutDefaultExecutorServiceContextCannotInvokeAsyncActions() - Method in class org.eclipse.microprofile.context.tck.ThreadContextTest
-
Verify that the lack of a default executor service bans contextualised CompletableFuture/CompletionStage
from running async actions on them.