|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public static @interface EditBus.EBHandler
This annotation should be used in methods that are to be
considered "edit bus message handlers". When registering
an object using EditBus.addToBus(Object)
, all methods
tagged with this annotation will be considered as handlers
for specific edit bus messages.
Each method should expect a single argument (an object of some type derived from EBMessage, inclusive). When delivering an EBMessage, the bus will search for and invoke all handlers matching the outgoing message type.
Optional Element Summary | |
---|---|
boolean |
exact
Whether the message should match the exact type of the parameter, instead of a compatible type. |
public abstract boolean exact
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |