@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited @Documented public @interface HandleEvent
public class Consumer {
@HandleEvent
public void onCatchSomeNiceEvent(Event01 event) {
}
@HandleEvent
public void onCatchSomeNiceEvent(Event02 event) {
}
}
Modifier and Type | Optional Element and Description |
---|---|
HandleEvent.Type |
filter |
public abstract HandleEvent.Type filter
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.