public interface FaultToleranceService
| Modifier and Type | Method and Description |
|---|---|
FaultToleranceConfig |
getConfig(javax.interceptor.InvocationContext context,
Stereotypes stereotypes)
Creates an instance of a
FaultToleranceConfig bound to the given InvocationContext and
Stereotypes lookup. |
default FaultToleranceMethodContext |
getMethodContext(javax.interceptor.InvocationContext context,
FaultTolerancePolicy policy) |
FaultToleranceMethodContext |
getMethodContext(javax.interceptor.InvocationContext context,
FaultTolerancePolicy policy,
javax.enterprise.context.control.RequestContextController requestContextController)
Get or create the context object for processing the annotated method represented by the given
InvocationContext. |
FaultToleranceConfig getConfig(javax.interceptor.InvocationContext context, Stereotypes stereotypes)
FaultToleranceConfig bound to the given InvocationContext and
Stereotypes lookup.context - currently processed contextstereotypes - way to lookup sterotype annotationsFaultToleranceConfig instance bound to the given contextFaultToleranceMethodContext getMethodContext(javax.interceptor.InvocationContext context, FaultTolerancePolicy policy, javax.enterprise.context.control.RequestContextController requestContextController)
InvocationContext.context - represents the FT annotated method being calledpolicy - the policy being used for this executionrequestContextController - the controller to use or nullFaultToleranceMethodContext to use to process the method invocation with FT semantics. This
is a context specific to the target object and called method.default FaultToleranceMethodContext getMethodContext(javax.interceptor.InvocationContext context, FaultTolerancePolicy policy)
Copyright © 2020. All rights reserved.