org.castor.cpa.jpa.processors.classprocessors
Class JPANamedQueriesProcessor
java.lang.Object
org.castor.cpa.jpa.processors.BaseJPAAnnotationProcessor
org.castor.cpa.jpa.processors.classprocessors.JPANamedQueriesProcessor
- All Implemented Interfaces:
- AnnotationProcessor, TargetAwareAnnotationProcessor
public class JPANamedQueriesProcessor
- extends BaseJPAAnnotationProcessor
Processes the JPA annotation NamedQuery. After this processor is
done, JPAClassNature.getNamedQuery() returns a valid value!
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPANamedQueriesProcessor
public JPANamedQueriesProcessor()
forAnnotationClass
public Class<? extends Annotation> forAnnotationClass()
-
- See Also:
forAnnotationClass()
processAnnotation
public <I extends BaseNature,A extends Annotation> boolean processAnnotation(I info,
A annotation,
AnnotatedElement target)
throws AnnotationTargetException
-
- Throws:
AnnotationTargetException- See Also:
processAnnotation(BaseNature, Annotation, AnnotatedElement)
Copyright © 2011. All Rights Reserved.