Class BeforeCompletionHandler
- java.lang.Object
-
- com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
-
- org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
-
- org.glassfish.ejb.deployment.annotation.handlers.BeforeCompletionHandler
-
- All Implemented Interfaces:
AnnotationHandler
@Service public class BeforeCompletionHandler extends AbstractAttributeHandler
This handler is responsible for handling the jakarta.ejb.BeforeCompletion annotation on a Bean method.- Author:
- Marina Vatkina
-
-
Field Summary
-
Fields inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
localStrings
-
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, logger
-
Fields inherited from interface org.glassfish.apf.AnnotationHandler
ANNOTATION_HANDLER_METADATA
-
-
Constructor Summary
Constructors Constructor Description BeforeCompletionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>[]
getTypeDependencies()
protected HandlerProcessingResult
processAnnotation(AnnotationInfo ainfo, EjbContext[] ejbContexts)
Process Annotation with given EjbContexts.protected boolean
supportTypeInheritance()
This indicates whether the annotation type should be processed for type level in super-class.-
Methods inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
isDelegatee, processAnnotation, processAnnotation
-
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
-
-
-
-
Method Detail
-
processAnnotation
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, EjbContext[] ejbContexts) throws AnnotationProcessorException
Description copied from class:AbstractAttributeHandler
Process Annotation with given EjbContexts.- Specified by:
processAnnotation
in classAbstractAttributeHandler
- Returns:
- HandlerProcessingResult
- Throws:
AnnotationProcessorException
-
getTypeDependencies
public Class<? extends Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependencies
in interfaceAnnotationHandler
- Overrides:
getTypeDependencies
in classAbstractHandler
- Returns:
- an array of annotation types this annotation handler would require to be processed (if present) before it processes it's own annotation type.
-
supportTypeInheritance
protected boolean supportTypeInheritance()
Description copied from class:AbstractAttributeHandler
This indicates whether the annotation type should be processed for type level in super-class.- Overrides:
supportTypeInheritance
in classAbstractAttributeHandler
-
-