Class AfterBeginHandler
java.lang.Object
com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
org.glassfish.ejb.deployment.annotation.handlers.AfterBeginHandler
- All Implemented Interfaces:
org.glassfish.apf.AnnotationHandler
This handler is responsible for handling the jakarta.ejb.AfterBegin
annotation on a Bean method.
- Author:
- Marina Vatkina
-
Field Summary
Fields inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
localStringsFields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, I18N, loggerFields inherited from interface org.glassfish.apf.AnnotationHandler
ANNOTATION_HANDLER_METADATA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends 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 booleanThis 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, processAnnotationMethods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
-
Constructor Details
-
AfterBeginHandler
public AfterBeginHandler()
-
-
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:AbstractAttributeHandlerProcess Annotation with given EjbContexts.- Specified by:
processAnnotationin classAbstractAttributeHandler- Returns:
- HandlerProcessingResult
- Throws:
org.glassfish.apf.AnnotationProcessorException
-
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.
-
supportTypeInheritance
protected boolean supportTypeInheritance()Description copied from class:AbstractAttributeHandlerThis indicates whether the annotation type should be processed for type level in super-class.- Overrides:
supportTypeInheritancein classAbstractAttributeHandler
-