org.loom.annotation.processor
Interface AnnotationProcessor

All Superinterfaces:
java.lang.Comparable<AnnotationProcessor>
All Known Implementing Classes:
AbstractAnnotationProcessor, AbstractOncePerClassAnnotationProcessor, AbstractPropertyAnnotationProcessor, AbstractSecurityAnnotationProcessor, BasicAnnotationProcessor, BrowserMessagesAnnotationProcessor, CacheAnnotationProcessor, ColumnAnnotationProcessor, CommonAnnotationsProcessor, DateValidationAnnotationProcessor, EagerPropertyAnnotationProcessor, EventAnnotationProcessor, FileValidationAnnotationProcessor, ImageValidationAnnotationProcessor, NumberValidationAnnotationProcessor, RequiredValidationAnnotationProcessor, RestAnnotationProcessor, RetrieveEntityAnnotationProcessor, SecuredAnnotationProcessor, SSLPolicyAnnotationProcessor, StringValidationAnnotationProcessor

public interface AnnotationProcessor
extends java.lang.Comparable<AnnotationProcessor>

Processes the annotations of a class, configuring its mapping as indicated by the annotations


Method Summary
 int getOrder()
          Annotation processors get executed in order.
 void process(Event event)
          Expands an ActionMapping with the metadata annotated to an Action class.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

process

void process(Event event)
Expands an ActionMapping with the metadata annotated to an Action class. This method processes any annotations attached to the Action class or any containing package.

Parameters:
event - the event to be modified

getOrder

int getOrder()
Annotation processors get executed in order. This method returns the expected order, where 0 is the first and Integer.MAX_VALUE is the last processor.