Class FallbackConfigBean
java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.config.FallbackConfigBean
Bean with methods to help test configuration of parameters of
Fallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThrows TestConfigExceptionA unless Fallback.applyOn is configured to cause it to fall backTestConfigExceptionA will cause fallback to run, unless skipOn is configured
-
Constructor Details
-
FallbackConfigBean
public FallbackConfigBean()
-
-
Method Details
-
applyOnMethod
@Fallback(fallbackMethod="theFallback", applyOn=TestConfigExceptionB.class) public String applyOnMethod()Throws TestConfigExceptionA unless Fallback.applyOn is configured to cause it to fall back -
skipOnMethod
TestConfigExceptionA will cause fallback to run, unless skipOn is configured -
fallbackMethodConfig
-
fallbackHandlerConfig
-
theFallback
-
anotherFallback
-