Class ExoEntityProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
org.exoplatform.commons.api.persistence.ExoEntityProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("org.exoplatform.commons.api.persistence.ExoEntity") @SupportedSourceVersion(RELEASE_21) public class ExoEntityProcessor extends AbstractProcessor
At compile time, every time a Maven module that uses @ExoEntity is compiled, the ExoEntityProcessor is invoked. This Annotation Processor (see JSR 269) creates an index that contains the list of all the JPA entities annotated with @ExoEntity of the module. This index is stored in the file “exo-jpa-entities/entities.idx” of the generated jar. Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com 7/22/15