org.hibernate.jpamodelgen
Class JPAMetaModelEntityProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor

@SupportedAnnotationTypes(value="*")
@SupportedSourceVersion(value=RELEASE_6)
@SupportedOptions(value={"debug","persistenceXml","ormXmlList","fullyAnnotationConfigured","lazyXmlParsing"})
public class JPAMetaModelEntityProcessor
extends javax.annotation.processing.AbstractProcessor

Main annotation processor.

Author:
Max Andersen, Hardy Ferentschik, Emmanuel Bernard

Field Summary
static java.lang.String DEBUG_OPTION
           
static java.lang.String FULLY_ANNOTATION_CONFIGURED_OPTION
           
static java.lang.String LAZY_XML_PARSING
           
static java.lang.String ORM_XML_OPTION
           
static java.lang.String PERSISTENCE_XML_OPTION
           
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
JPAMetaModelEntityProcessor()
           
 
Method Summary
 void init(javax.annotation.processing.ProcessingEnvironment env)
           
 boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnvironment)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_OPTION

public static final java.lang.String DEBUG_OPTION
See Also:
Constant Field Values

PERSISTENCE_XML_OPTION

public static final java.lang.String PERSISTENCE_XML_OPTION
See Also:
Constant Field Values

ORM_XML_OPTION

public static final java.lang.String ORM_XML_OPTION
See Also:
Constant Field Values

FULLY_ANNOTATION_CONFIGURED_OPTION

public static final java.lang.String FULLY_ANNOTATION_CONFIGURED_OPTION
See Also:
Constant Field Values

LAZY_XML_PARSING

public static final java.lang.String LAZY_XML_PARSING
See Also:
Constant Field Values
Constructor Detail

JPAMetaModelEntityProcessor

public JPAMetaModelEntityProcessor()
Method Detail

init

public void init(javax.annotation.processing.ProcessingEnvironment env)
Specified by:
init in interface javax.annotation.processing.Processor
Overrides:
init in class javax.annotation.processing.AbstractProcessor

process

public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
                       javax.annotation.processing.RoundEnvironment roundEnvironment)
Specified by:
process in interface javax.annotation.processing.Processor
Specified by:
process in class javax.annotation.processing.AbstractProcessor


Copyright © 2009-2010. All Rights Reserved.