org.castor.cpa.jpa.processors.classprocessors
Class JPANamedQueriesProcessor

java.lang.Object
  extended by org.castor.cpa.jpa.processors.BaseJPAAnnotationProcessor
      extended by 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!

Version:
$Revision: 8994 $ $Date: 2011-08-02 01:40:59 +0200 (Di, 02 Aug 2011) $
Author:
Werner Guttmann

Constructor Summary
JPANamedQueriesProcessor()
           
 
Method Summary
 Class<? extends Annotation> forAnnotationClass()
          
<I extends BaseNature,A extends Annotation>
boolean
processAnnotation(I info, A annotation, AnnotatedElement target)
          
 
Methods inherited from class org.castor.cpa.jpa.processors.BaseJPAAnnotationProcessor
processAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPANamedQueriesProcessor

public JPANamedQueriesProcessor()
Method Detail

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 © 2012. All Rights Reserved.