|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TargetAwareAnnotationProcessingService
Extension of AnnotationProcessingService to handle target-aware
Annotations.
AnnotationProcessingService| Method Summary | ||
|---|---|---|
void |
addAnnotationProcessor(TargetAwareAnnotationProcessor annotationProcessor)
Add an TargetAwareAnnotationProcessor to the service. |
|
Set<AnnotationProcessor> |
getAllAnnotationProcessors()
Returns the set of AnnotationProcessors and
TargetAwareAnnotationProcessors registered with this service. |
|
Set<TargetAwareAnnotationProcessor> |
getTargetAwareAnnotationProcessors()
Returns the set of TargetAwareAnnotationProcessors registered
with this service. |
|
|
processAnnotation(I info,
A annotation,
AnnotatedElement target)
The processing action of this service. |
|
|
processAnnotations(I info,
Annotation[] annotations,
AnnotatedElement target)
Calls AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation. |
|
| Methods inherited from interface org.castor.core.annotationprocessing.AnnotationProcessingService |
|---|
addAnnotationProcessor, getAnnotationProcessors, processAnnotation, processAnnotations |
| Method Detail |
|---|
<I extends BaseNature> Annotation[] processAnnotations(I info,
Annotation[] annotations,
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 annotation
AnnotationTargetException - if an annotation is used in a context that is not valid.AnnotationProcessingService.processAnnotation(BaseNature, Annotation)
<I extends BaseNature,A extends Annotation> boolean processAnnotation(I info,
A annotation,
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 annotation
AnnotationTargetException - 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.Set<TargetAwareAnnotationProcessor> getTargetAwareAnnotationProcessors()
TargetAwareAnnotationProcessors registered
with this service.
TargetAwareAnnotationProcessors registered with
this service.Set<AnnotationProcessor> getAllAnnotationProcessors()
AnnotationProcessors and
TargetAwareAnnotationProcessors 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 | |||||||||