Package io.smallrye.faulttolerance
Interface FallbackHandlerProvider
- All Known Implementing Classes:
DefaultFallbackHandlerProvider
public interface FallbackHandlerProvider
An integrator is allowed to provide a custom implementation of
FallbackHandlerProvider. The bean should be
Dependent, must be marked as alternative and selected globally for an application.- Author:
- Martin Kouba
-
Method Summary
Modifier and TypeMethodDescription<T> org.eclipse.microprofile.faulttolerance.FallbackHandler<T> get(FaultToleranceOperation operation)
-
Method Details
-
get
<T> org.eclipse.microprofile.faulttolerance.FallbackHandler<T> get(FaultToleranceOperation operation) - Parameters:
operation- Fault tolerance operation- Returns:
- a new fallback handler or
null
-