Class FaultToleranceInterceptor
- java.lang.Object
-
- fish.payara.microprofile.faulttolerance.cdi.FaultToleranceInterceptor
-
- All Implemented Interfaces:
Stereotypes,Serializable
@Dependent public class FaultToleranceInterceptor extends Object implements Stereotypes, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringPAYARA_FAULT_TOLERANCE_INTERCEPTOR_EXECUTED
-
Constructor Summary
Constructors Constructor Description FaultToleranceInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Annotation>getStereotypeDefinition(Class<? extends Annotation> stereotype)The sets of annotations the given sterotype annotation represents.Objectintercept(jakarta.interceptor.InvocationContext context)booleanisStereotype(Class<? extends Annotation> annotationType)Checks for sterotype annotation.protected booleanshouldIntercept(jakarta.interceptor.InvocationContext invocationContext)
-
-
-
Field Detail
-
PAYARA_FAULT_TOLERANCE_INTERCEPTOR_EXECUTED
protected static final String PAYARA_FAULT_TOLERANCE_INTERCEPTOR_EXECUTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
intercept
public Object intercept(jakarta.interceptor.InvocationContext context) throws Exception
- Throws:
Exception
-
isStereotype
public boolean isStereotype(Class<? extends Annotation> annotationType)
Description copied from interface:StereotypesChecks for sterotype annotation.- Specified by:
isStereotypein interfaceStereotypes- Parameters:
annotationType- the type to check- Returns:
- true, if the given annotation type is a sterotype annotation
-
getStereotypeDefinition
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype)
Description copied from interface:StereotypesThe sets of annotations the given sterotype annotation represents.- Specified by:
getStereotypeDefinitionin interfaceStereotypes- Parameters:
stereotype- a sterotype annotation (Stereotypes.isStereotype(Class)wastrue)- Returns:
- the set of annotation defined as sterotype
-
-