public abstract class AbstractResourceHandler extends AbstractHandler
ejbProvider, localStrings, loggerANNOTATION_HANDLER_METADATA| Constructor and Description |
|---|
AbstractResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation>[] |
getTypeDependencies() |
protected boolean |
isAEjbComponentClass(Annotation[] annotations) |
protected boolean |
isAWebComponentClass(Annotation[] annotations) |
HandlerProcessingResult |
processAnnotation(AnnotationInfo ainfo)
Process a particular annotation which type is the same as the
one returned by @see getAnnotationType().
|
protected abstract HandlerProcessingResult |
processAnnotation(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 HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, ResourceContainerContext[] rcContexts) throws AnnotationProcessorException
ainfo - rcContexts - AnnotationProcessorExceptionpublic HandlerProcessingResult processAnnotation(AnnotationInfo ainfo) throws AnnotationProcessorException
ainfo - the annotation informationAnnotationProcessorExceptionpublic Class<? extends Annotation>[] getTypeDependencies()
getTypeDependencies in interface AnnotationHandlergetTypeDependencies in class AbstractHandlerprotected boolean isAEjbComponentClass(Annotation[] annotations)
protected boolean isAWebComponentClass(Annotation[] annotations)
protected void validateAnnotatedLifecycleMethod(Method method)
Copyright © 2017. All rights reserved.