org.glassfish.ejb.deployment.annotation.handlers
Class AroundTimeoutHandler

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
      extended by org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
          extended by org.glassfish.ejb.deployment.annotation.handlers.AroundInvokeHandler
              extended by org.glassfish.ejb.deployment.annotation.handlers.AroundTimeoutHandler
All Implemented Interfaces:
AnnotationHandler

@Service
public class AroundTimeoutHandler
extends AroundInvokeHandler

This handler is responsible for handling the javax.ejb.AroundTimeout attribute


Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, localStrings, logger
 
Constructor Summary
AroundTimeoutHandler()
           
 
Method Summary
 Class<? extends Annotation> getAnnotationType()
           
protected  HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, EjbContext[] ejbContexts)
          Process Annotation with given EjbContexts.
protected  HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, EjbInterceptorContext ejbInterceptorContext)
          Process Annotation with given InteceptorContext.
 
Methods inherited from class org.glassfish.ejb.deployment.annotation.handlers.AroundInvokeHandler
getAroundInvocationDescriptor, getTypeDependencies, isDelegatee
 
Methods inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
processAnnotation, supportTypeInheritance
 
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
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 Detail

AroundTimeoutHandler

public AroundTimeoutHandler()
Method Detail

getAnnotationType

public Class<? extends Annotation> getAnnotationType()
Specified by:
getAnnotationType in interface AnnotationHandler
Overrides:
getAnnotationType in class AroundInvokeHandler
Returns:
the annoation type this annotation handler is handling

processAnnotation

protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
                                                    EjbContext[] ejbContexts)
                                             throws AnnotationProcessorException
Description copied from class: AbstractAttributeHandler
Process Annotation with given EjbContexts.

Overrides:
processAnnotation in class AroundInvokeHandler
Returns:
HandlerProcessingResult
Throws:
AnnotationProcessorException

processAnnotation

protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
                                                    EjbInterceptorContext ejbInterceptorContext)
                                             throws AnnotationProcessorException
Description copied from class: AbstractAttributeHandler
Process Annotation with given InteceptorContext.

Overrides:
processAnnotation in class AroundInvokeHandler
Returns:
HandlerProcessingResult
Throws:
AnnotationProcessorException


Copyright © 2012 GlassFish Community. All Rights Reserved.