public abstract class AbstractResourceHandler extends AbstractHandler
ejbProvider, localStrings, logger| Constructor and Description |
|---|
AbstractResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation>[] |
getTypeDependencies() |
protected boolean |
isAEjbComponentClass(Annotation[] annotations) |
protected boolean |
isAWebComponentClass(Annotation[] annotations) |
org.glassfish.apf.HandlerProcessingResult |
processAnnotation(org.glassfish.apf.AnnotationInfo ainfo)
Process a particular annotation which type is the same as the
one returned by @see getAnnotationType().
|
protected abstract org.glassfish.apf.HandlerProcessingResult |
processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
ResourceContainerContext[] rcContexts)
Process Annotation with given ResourceContainerContexts.
|
protected void |
validateAnnotatedLifecycleMethod(Method method) |
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethodprotected abstract org.glassfish.apf.HandlerProcessingResult processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
ResourceContainerContext[] rcContexts)
throws org.glassfish.apf.AnnotationProcessorException
ainfo - rcContexts - org.glassfish.apf.AnnotationProcessorExceptionpublic org.glassfish.apf.HandlerProcessingResult processAnnotation(org.glassfish.apf.AnnotationInfo ainfo)
throws org.glassfish.apf.AnnotationProcessorException
ainfo - the annotation informationorg.glassfish.apf.AnnotationProcessorExceptionpublic Class<? extends Annotation>[] getTypeDependencies()
getTypeDependencies in interface org.glassfish.apf.AnnotationHandlergetTypeDependencies in class AbstractHandlerprotected boolean isAEjbComponentClass(Annotation[] annotations)
protected boolean isAWebComponentClass(Annotation[] annotations)
protected void validateAnnotatedLifecycleMethod(Method method)
Copyright © 2013. All Rights Reserved.