Package io.smallrye.mutiny.context
Class DefaultContextPropagationInterceptor
- java.lang.Object
-
- io.smallrye.mutiny.context.BaseContextPropagationInterceptor
-
- io.smallrye.mutiny.context.DefaultContextPropagationInterceptor
-
- All Implemented Interfaces:
CallbackDecorator,MutinyInterceptor
public class DefaultContextPropagationInterceptor extends BaseContextPropagationInterceptor
Provides context propagation by intercepting the user callbacks.
-
-
Field Summary
-
Fields inherited from interface io.smallrye.mutiny.infrastructure.MutinyInterceptor
DEFAULT_ORDINAL
-
-
Constructor Summary
Constructors Constructor Description DefaultContextPropagationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.smallrye.context.SmallRyeThreadContextgetThreadContext()Gets the Context Propagation ThreadContext.-
Methods inherited from class io.smallrye.mutiny.context.BaseContextPropagationInterceptor
decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate, decorate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.mutiny.infrastructure.MutinyInterceptor
ordinal
-
-
-
-
Method Detail
-
getThreadContext
protected io.smallrye.context.SmallRyeThreadContext getThreadContext()
Description copied from class:BaseContextPropagationInterceptorGets the Context Propagation ThreadContext. External implementations may implement this method.- Specified by:
getThreadContextin classBaseContextPropagationInterceptor- Returns:
- the ThreadContext
-
-