AnnotationProcessingServiceBaseTargetAwareAnnotationProcessingServicepublic class BaseAnnotationProcessingService extends java.lang.Object implements AnnotationProcessingService
AnnotationProcessors
and uses them to process one or more Annotations. This is a standard
implementation that should be sufficient for most purposes.AnnotationProcessingService| Constructor | Description |
|---|---|
BaseAnnotationProcessingService() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addAnnotationProcessor(AnnotationProcessor annotationProcessor) |
Add an
AnnotationProcessor to the service. |
java.util.Set<AnnotationProcessor> |
getAnnotationProcessors() |
Returns the set of
AnnotationProcessors registered with
this service. |
<I extends BaseNature,A extends java.lang.annotation.Annotation> |
processAnnotation(I info,
A annotation) |
The processing action of this service.
|
<I extends BaseNature> |
processAnnotations(I info,
java.lang.annotation.Annotation[] annotations) |
Calls
AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation. |
public void addAnnotationProcessor(AnnotationProcessor annotationProcessor)
AnnotationProcessor to the service.addAnnotationProcessor in interface AnnotationProcessingServiceannotationProcessor - the AnnotationProcessor to add to this service.public java.util.Set<AnnotationProcessor> getAnnotationProcessors()
AnnotationProcessors registered with
this service.getAnnotationProcessors in interface AnnotationProcessingServiceAnnotationProcessors registered with this service.public <I extends BaseNature> java.lang.annotation.Annotation[] processAnnotations(I info, java.lang.annotation.Annotation[] annotations)
AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation.processAnnotations in interface AnnotationProcessingServiceinfo - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotations - the annotations to processAnnotationProcessingService.processAnnotation(BaseNature, Annotation)public <I extends BaseNature,A extends java.lang.annotation.Annotation> boolean processAnnotation(I info, A annotation)
AnnotationProcessor.processAnnotation(BaseNature, Annotation) is
returned.processAnnotation in interface AnnotationProcessingServiceinfo - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotation - the annotation to process(BaseNature, Annotation)Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com