|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationProcessingService
An AnnotationProcessingService handles multiple AnnotationProcessors
and uses them to process one or more Annotations.
AnnotationProcessor| Method Summary | ||
|---|---|---|
void |
addAnnotationProcessor(AnnotationProcessor annotationProcessor)
Add an AnnotationProcessor to the service. |
|
Set<AnnotationProcessor> |
getAnnotationProcessors()
Returns the set of AnnotationProcessors registered with
this service. |
|
|
processAnnotation(I info,
A annotation)
The processing action of this service. |
|
|
processAnnotations(I info,
Annotation[] annotations)
Calls processAnnotation(BaseNature, Annotation) for each given
Annotation. |
|
| Method Detail |
|---|
<I extends BaseNature> Annotation[] processAnnotations(I info,
Annotation[] annotations)
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 process
processAnnotation(BaseNature, Annotation)
<I extends BaseNature,A extends Annotation> boolean processAnnotation(I info,
A annotation)
AnnotationProcessor.processAnnotation(BaseNature, Annotation) is
returned.
info - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotation - the annotation to process
AnnotationProcessorvoid addAnnotationProcessor(AnnotationProcessor annotationProcessor)
AnnotationProcessor to the service.
annotationProcessor - the AnnotationProcessor to add to this service.Set<AnnotationProcessor> getAnnotationProcessors()
AnnotationProcessors registered with
this service.
AnnotationProcessors registered with this service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||