Class AroundInvokeHandler
- java.lang.Object
-
- com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
-
- org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
-
- org.glassfish.ejb.deployment.annotation.handlers.AroundInvokeHandler
-
- All Implemented Interfaces:
org.glassfish.apf.AnnotationHandler
- Direct Known Subclasses:
AroundTimeoutHandler
@Service public class AroundInvokeHandler extends AbstractAttributeHandler
This handler is responsible for handling the jakarta.ejb.AroundInvoke attribute
-
-
Field Summary
-
Fields inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
localStrings
-
-
Constructor Summary
Constructors Constructor Description AroundInvokeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.sun.enterprise.deployment.LifecycleCallbackDescriptorgetAroundInvocationDescriptor(org.glassfish.apf.AnnotationInfo ainfo)Class<? extends Annotation>[]getTypeDependencies()protected booleanisDelegatee()This indicates whether the annotation can be processed by delegation from the another annotation.protected org.glassfish.apf.HandlerProcessingResultprocessAnnotation(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.EjbContext[] ejbContexts)Process Annotation with given EjbContexts.protected org.glassfish.apf.HandlerProcessingResultprocessAnnotation(org.glassfish.apf.AnnotationInfo ainfo, com.sun.enterprise.deployment.annotation.context.EjbInterceptorContext ejbInterceptorContext)Process Annotation with given InteceptorContext.-
Methods inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
processAnnotation, supportTypeInheritance
-
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
-
-
-
-
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.AnnotationProcessorExceptionDescription copied from class:AbstractAttributeHandlerProcess Annotation with given EjbContexts.- Specified by:
processAnnotationin classAbstractAttributeHandler- 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.AnnotationProcessorExceptionDescription copied from class:AbstractAttributeHandlerProcess Annotation with given InteceptorContext.- Overrides:
processAnnotationin classAbstractAttributeHandler- Returns:
- HandlerProcessingResult
- Throws:
org.glassfish.apf.AnnotationProcessorException
-
getAroundInvocationDescriptor
protected com.sun.enterprise.deployment.LifecycleCallbackDescriptor getAroundInvocationDescriptor(org.glassfish.apf.AnnotationInfo ainfo)
-
getTypeDependencies
public Class<? extends Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependenciesin interfaceorg.glassfish.apf.AnnotationHandler- Overrides:
getTypeDependenciesin classcom.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.
-
isDelegatee
protected boolean isDelegatee()
Description copied from class:AbstractAttributeHandlerThis indicates whether the annotation can be processed by delegation from the another annotation.- Overrides:
isDelegateein classAbstractAttributeHandler
-
-