@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 |
|---|---|
String |
fallbackMethod
Specify the method name to be fallbacked to.
|
Class<? extends FallbackHandler<?>> |
value
Specify the fallback class to be used.
|
public abstract Class<? extends FallbackHandler<?>> value
FaultToleranceDefinitionException occurs.public abstract String fallbackMethod
FaultToleranceDefinitionException must be thrown.Copyright © 2017 Eclipse Foundation. All rights reserved.