org.loom.annotation.processor
Class EventAnnotationProcessor

java.lang.Object
  extended by org.loom.annotation.processor.AbstractAnnotationProcessor
      extended by org.loom.annotation.processor.EventAnnotationProcessor
All Implemented Interfaces:
java.lang.Comparable<AnnotationProcessor>, AnnotationProcessor

public class EventAnnotationProcessor
extends AbstractAnnotationProcessor

Processes the Event annotation


Constructor Summary
EventAnnotationProcessor()
           
 
Method Summary
protected  void addHandler(Event event, java.lang.Class<? extends MethodInterceptor> interceptorClass, java.lang.String[] methodNames, java.lang.Class<?>... types)
           
 void process(Event event)
          Expands an ActionMapping with the metadata annotated to an Action class.
 
Methods inherited from class org.loom.annotation.processor.AbstractAnnotationProcessor
compareTo, getOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventAnnotationProcessor

public EventAnnotationProcessor()
Method Detail

process

public void process(Event event)
Description copied from interface: AnnotationProcessor
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.

Specified by:
process in interface AnnotationProcessor
Specified by:
process in class AbstractAnnotationProcessor
Parameters:
event - the event to be modified

addHandler

protected void addHandler(Event event,
                          java.lang.Class<? extends MethodInterceptor> interceptorClass,
                          java.lang.String[] methodNames,
                          java.lang.Class<?>... types)