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