@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Inherited @InterceptorBinding public @interface Fallback
FallbackHandler.handle(ExecutionContext)
on the specified handler to execute the fallback.FaultToleranceDefinitionException
must be thrown.Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
fallbackMethod
Specify the method name to be fallbacked to.
|
java.lang.Class<? extends FallbackHandler<?>> |
value
Specify the fallback class to be used.
|
public abstract java.lang.Class<? extends FallbackHandler<?>> value
FaultToleranceDefinitionException
occurs.public abstract java.lang.String fallbackMethod
FaultToleranceDefinitionException
must be thrown.