public class Contextualizer extends Object
Contextualizer is able to wrap operation so that it can be run in another thread with given contexts activated.| Constructor and Description |
|---|
Contextualizer() |
| Modifier and Type | Method and Description |
|---|---|
static <A,T,X extends ContextualOperation<A,T>> |
contextualize(OperationalContextRetriver retriver,
X operation)
Contextualizes operation with contexts given by
OperationalContext which is given by provided
OperationalContextRetriver |
static <A,T,X extends ContextualOperation<A,T>> |
contextualize(OperationalContext context,
X operation)
Contextualizes operation with contexts given by
OperationalContext |
public static <A,T,X extends ContextualOperation<A,T>> X contextualize(OperationalContext context, X operation)
OperationalContextpublic static <A,T,X extends ContextualOperation<A,T>> X contextualize(OperationalContextRetriver retriver, X operation)
OperationalContext which is given by provided
OperationalContextRetriverCopyright © 2014 JBoss by Red Hat. All rights reserved.