@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ListenerInterface
Listeners in jeve. The corresponding
annotation processor performs some compile time checks for whether your
listener adheres to the general style of listener definitions in jeve.
ListenerListenerKind specified as value to this annotation
When omitting the value() attribute, the target class is expected to
contain only normal listening methods.
ListenerKind,
Listener| Modifier and Type | Optional Element and Description |
|---|---|
ListenerKind |
value
Specifies the kind of listening methods expected in this
Listener implementation. |
public abstract ListenerKind value
Listener implementation. The default
value is ListenerKind.NORMAL.Copyright © 2014–2015. All rights reserved.