org.glassfish.ejb.deployment.annotation.handlers
Class PostActivateHandler
java.lang.Object
com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
org.glassfish.ejb.deployment.annotation.handlers.PostActivateHandler
- All Implemented Interfaces:
- AnnotationHandler
@Service
public class PostActivateHandler
- extends AbstractAttributeHandler
This handler is responsible for handling javax.ejb.PostActivate
| 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 |
PostActivateHandler
public PostActivateHandler()
getAnnotationType
public Class<? extends Annotation> getAnnotationType()
- 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.
- Specified by:
processAnnotation in class AbstractAttributeHandler
- 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 AbstractAttributeHandler
- Returns:
- HandlerProcessingResult
- Throws:
AnnotationProcessorException
getTypeDependencies
public Class<? extends Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependencies in interface AnnotationHandler- Overrides:
getTypeDependencies in class 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:
AbstractAttributeHandler
- This indicates whether the annotation can be processed by delegation
from the another annotation.
- Overrides:
isDelegatee in class AbstractAttributeHandler
Copyright © 2012 GlassFish Community. All Rights Reserved.