Class FaultToleranceSniffer
- java.lang.Object
-
- fish.payara.microprofile.connector.MicroProfileSniffer
-
- fish.payara.microprofile.faulttolerance.activation.FaultToleranceSniffer
-
- All Implemented Interfaces:
Sniffer
@Service @PerLookup public class FaultToleranceSniffer extends MicroProfileSniffer
-
-
Constructor Summary
Constructors Constructor Description FaultToleranceSniffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>[]
getAnnotationTypes()
Returns the list of annotations types that this sniffer is interested in.protected Class<?>
getContainersClass()
String
getModuleType()
Returns the container type associated with this sniffer-
Methods inherited from class fish.payara.microprofile.connector.MicroProfileSniffer
getAnnotationNames, getContainersNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getURLPatterns, handles, handles, isJavaEE, isUserVisible, setup, supportsArchiveType, tearDown
-
-
-
-
Method Detail
-
getAnnotationTypes
public Class<? extends Annotation>[] getAnnotationTypes()
Description copied from interface:Sniffer
Returns the list of annotations types that this sniffer is interested in. If an application bundle contains at least one class annotated with one of the returned annotations, the deployment process will not call the handles method but will invoke the containers deployers as if the handles method had been called and returned true.- Returns:
- list of annotations this sniffer is interested in or an empty array
-
getContainersClass
protected Class<?> getContainersClass()
- Specified by:
getContainersClass
in classMicroProfileSniffer
-
-