Class EJBsHandler

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

    @Service
    public class EJBsHandler
    extends EJBHandler
    This handler is responsible for handling the jakarta.ejb.EJBs attribute
    • 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 Summary

      Constructors 
      Constructor Description
      EJBsHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.ResourceContainerContext[] rcContexts)
      Process a particular annotation which type is the same as the one returned by @see getAnnotationType().
      • Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler

        getTypeDependencies, isAEjbComponentClass, isAWebComponentClass, processAnnotation, validateAnnotatedLifecycleMethod
      • 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

      • EJBsHandler

        public EJBsHandler()
    • Method Detail

      • processAnnotation

        protected org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo,
                                                                              com.sun.enterprise.deployment.annotation.context.ResourceContainerContext[] rcContexts)
                                                                       throws org.glassfish.apf.AnnotationProcessorException
        Description copied from class: EJBHandler
        Process a particular annotation which type is the same as the one returned by @see getAnnotationType(). All information pertinent to the annotation and its context is encapsulated in the passed AnnotationInfo instance.
        Overrides:
        processAnnotation in class EJBHandler
        Parameters:
        ainfo - the annotation information
        rcContexts - an array of ResourceContainerContext
        Returns:
        HandlerProcessingResult
        Throws:
        org.glassfish.apf.AnnotationProcessorException