AnnotationProcessingServiceBaseTargetAwareAnnotationProcessingService, JPAClassAnnotationProcessingService, JPAFieldAnnotationProcessingServicepublic interface TargetAwareAnnotationProcessingService extends AnnotationProcessingService
AnnotationProcessingService to handle target-aware
Annotations.AnnotationProcessingService| Modifier and Type | Method | Description |
|---|---|---|
void |
addAnnotationProcessor(TargetAwareAnnotationProcessor annotationProcessor) |
Add an
TargetAwareAnnotationProcessor to the service. |
java.util.Set<AnnotationProcessor> |
getAllAnnotationProcessors() |
Returns the set of
AnnotationProcessors and
TargetAwareAnnotationProcessors registered with this service. |
java.util.Set<TargetAwareAnnotationProcessor> |
getTargetAwareAnnotationProcessors() |
Returns the set of
TargetAwareAnnotationProcessors registered
with this service. |
<I extends BaseNature,A extends java.lang.annotation.Annotation> |
processAnnotation(I info,
A annotation,
java.lang.reflect.AnnotatedElement target) |
The processing action of this service.
|
<I extends BaseNature> |
processAnnotations(I info,
java.lang.annotation.Annotation[] annotations,
java.lang.reflect.AnnotatedElement target) |
Calls
AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation. |
addAnnotationProcessor, getAnnotationProcessors, processAnnotation, processAnnotations<I extends BaseNature> java.lang.annotation.Annotation[] processAnnotations(I info, java.lang.annotation.Annotation[] annotations, java.lang.reflect.AnnotatedElement target) throws AnnotationTargetException
AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation.info - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotations - the annotations to processtarget - the target (AnnotatedElement) of the given annotationAnnotationTargetException - if an annotation is used in a context that is not valid.AnnotationProcessingService.processAnnotation(BaseNature, Annotation)<I extends BaseNature,A extends java.lang.annotation.Annotation> boolean processAnnotation(I info, A annotation, java.lang.reflect.AnnotatedElement target) throws AnnotationTargetException
TargetAwareAnnotationProcessor.processAnnotation(BaseNature, Annotation, AnnotatedElement)
is returned.info - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotation - the annotation to processtarget - the target (AnnotatedElement) of the given annotationAnnotationTargetException - if an annotation is used in a context that is not valid.TargetAwareAnnotationProcessorvoid addAnnotationProcessor(TargetAwareAnnotationProcessor annotationProcessor)
TargetAwareAnnotationProcessor to the service.annotationProcessor - the TargetAwareAnnotationProcessor to add to this
service.java.util.Set<TargetAwareAnnotationProcessor> getTargetAwareAnnotationProcessors()
TargetAwareAnnotationProcessors registered
with this service.TargetAwareAnnotationProcessors registered with
this service.java.util.Set<AnnotationProcessor> getAllAnnotationProcessors()
AnnotationProcessors and
TargetAwareAnnotationProcessors registered with this service.AnnotationProcessors registered with this
service.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com