Griffon 0.9.5-rc2

griffon.transform
[Java] Annotation Type EventPublisher

java.lang.Object
  griffon.transform.EventPublisher

@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.TYPE)
@GroovyASTTransformationClass("org.codehaus.griffon.ast.EventPublisherASTTransformation")
public @interface EventPublisher

Annotates a class.

When annotating a class it indicates that it will become an event publishing one. The class will have the ability to send arbitrary events to any listeners that may have been registered with it. These events are similar to the ones published by GriffonApplication.

The following methods will be added to classes annotated with @EventPublisher
Authors:
Andres Almiray
See Also:
org.codehaus.griffon.ast.EventPublisherASTTransformation


Method Summary
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Groovy Documentation