src/main/java/twigkit/events/AnnotationInterceptorModule.java
:
src/main/java/twigkit/events/AnnotationInterceptor.java
:
twigkit.events.AnnotationInterceptorModule
to the file src/main/resources/META-INF/services/twigkit.TwigKitModule
. If this file does not already exist simply create it and add the text twigkit.events.AnnotationInterceptorModule
.
This is all that is required to implement custom behavior. Add the code you must the annotate method using the information provided in the AnnotationCreated
event object. As with other custom modules registered in Appkit you can also inject references to platforms and other core Appkit components and interact with them here.