Class AroundConstructHandler

  • All Implemented Interfaces:
    org.glassfish.apf.AnnotationHandler

    @Service
    public class AroundConstructHandler
    extends AbstractAttributeHandler
    This handler is responsible for handling jakarta.intercept.AroundConstruct
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Class<? extends Annotation>[] getTypeDependencies()  
      protected boolean isDelegatee()
      This indicates whether the annotation can be processed by delegation from the another annotation.
      protected org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.EjbContext[] ejbContexts)
      Process Annotation with given EjbContexts.
      protected org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.EjbInterceptorContext ejbInterceptorContext)
      Process Annotation with given InteceptorContext.
      • Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler

        getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
    • Constructor Detail

      • AroundConstructHandler

        public AroundConstructHandler()
    • 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
      • processAnnotation

        protected org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo,
                                                                              com.sun.enterprise.deployment.annotation.context.EjbInterceptorContext ejbInterceptorContext)
                                                                       throws org.glassfish.apf.AnnotationProcessorException
        Description copied from class: AbstractAttributeHandler
        Process Annotation with given InteceptorContext.
        Overrides:
        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.