Class AccessTimeoutHandler

java.lang.Object
com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
org.glassfish.ejb.deployment.annotation.handlers.AccessTimeoutHandler
All Implemented Interfaces:
com.sun.enterprise.deployment.annotation.handlers.PostProcessor<com.sun.enterprise.deployment.annotation.context.EjbContext>, org.glassfish.apf.AnnotationHandler

@Service public class AccessTimeoutHandler extends AbstractAttributeHandler implements com.sun.enterprise.deployment.annotation.handlers.PostProcessor<com.sun.enterprise.deployment.annotation.context.EjbContext>
This handler is responsible for handling the jakarta.ejb.AccessTimeout.
Author:
Mahesh Kannan, 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, I18N, logger

    Fields inherited from interface org.glassfish.apf.AnnotationHandler

    ANNOTATION_HANDLER_METADATA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends Annotation>[]
     
    void
    postProcessAnnotation(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.EjbContext ejbContext)
    Set the default value (from class type annotation) on all methods that don't have a value.
    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 boolean
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccessTimeoutHandler

      public AccessTimeoutHandler()
  • Method Details

    • 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.
    • 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 class AbstractAttributeHandler
    • postProcessAnnotation

      public void postProcessAnnotation(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.EjbContext ejbContext) throws org.glassfish.apf.AnnotationProcessorException
      Set the default value (from class type annotation) on all methods that don't have a value.
      Specified by:
      postProcessAnnotation in interface com.sun.enterprise.deployment.annotation.handlers.PostProcessor<com.sun.enterprise.deployment.annotation.context.EjbContext>
      Throws:
      org.glassfish.apf.AnnotationProcessorException