Class BeforeCompletionHandler

  • All Implemented Interfaces:
    org.glassfish.apf.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 com.sun.enterprise.deployment.annotation.handlers.AbstractHandler

        ejbProvider, logger
      • Fields inherited from interface org.glassfish.apf.AnnotationHandler

        ANNOTATION_HANDLER_METADATA
    • Constructor Detail

      • BeforeCompletionHandler

        public BeforeCompletionHandler()
    • Method Detail

      • processAnnotation

        protected org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo,
                                                                              com.sun.enterprise.deployment.annotation.context.EjbContext[] ejbContexts)
                                                                       throws org.glassfish.apf.AnnotationProcessorException
        Description copied from class: AbstractAttributeHandler
        Process Annotation with given EjbContexts.
        Specified by:
        processAnnotation in class AbstractAttributeHandler
        Returns:
        HandlerProcessingResult
        Throws:
        org.glassfish.apf.AnnotationProcessorException
      • getTypeDependencies

        public Class<? extends Annotation>[] getTypeDependencies()
        Specified by:
        getTypeDependencies in interface org.glassfish.apf.AnnotationHandler
        Overrides:
        getTypeDependencies in class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
        Returns:
        an array of annotation types this annotation handler would require to be processed (if present) before it processes it's own annotation type.