Class AbstractAttributeHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static com.sun.enterprise.util.LocalStringManagerImpl 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
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isDelegatee()
      This indicates whether the annotation can be processed by delegation from the another annotation.
      org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo)
      Process a particular annotation which type is the same as the one returned by @see getAnnotationType().
      protected abstract 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.
      protected boolean supportTypeInheritance()
      This indicates whether the annotation type should be processed for type level in super-class.
      • Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler

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

      • localStrings

        protected static final com.sun.enterprise.util.LocalStringManagerImpl localStrings
    • Constructor Detail

      • AbstractAttributeHandler

        public AbstractAttributeHandler()
    • Method Detail

      • processAnnotation

        protected abstract org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo,
                                                                                       com.sun.enterprise.deployment.annotation.context.EjbContext[] ejbContexts)
                                                                                throws org.glassfish.apf.AnnotationProcessorException
        Process Annotation with given EjbContexts.
        Parameters:
        ainfo -
        ejbContexts -
        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
        Process Annotation with given InteceptorContext.
        Parameters:
        ainfo -
        ejbInterceptorContext -
        Returns:
        HandlerProcessingResult
        Throws:
        org.glassfish.apf.AnnotationProcessorException
      • processAnnotation

        public org.glassfish.apf.HandlerProcessingResult processAnnotation​(org.glassfish.apf.AnnotationInfo ainfo)
                                                                    throws org.glassfish.apf.AnnotationProcessorException
        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. This is a method in interface AnnotationHandler.
        Parameters:
        ainfo - the annotation information
        Throws:
        org.glassfish.apf.AnnotationProcessorException
      • isDelegatee

        protected boolean isDelegatee()
        This indicates whether the annotation can be processed by delegation from the another annotation.
      • supportTypeInheritance

        protected boolean supportTypeInheritance()
        This indicates whether the annotation type should be processed for type level in super-class.