corrected sampe code in documentation
This commit is contained in:
parent
a6b436beb6
commit
b0aed604b4
@ -45,7 +45,7 @@ Listener definition (in any bean):
|
|||||||
|
|
||||||
// this handler will receive events of type SubTestEvent
|
// this handler will receive events of type SubTestEvent
|
||||||
// or any subtabe and that passes the given filter(s)
|
// or any subtabe and that passes the given filter(s)
|
||||||
@Listener({@Filter(SpecialEventsOnly.class),@Filter(SpecialEventsOnly.class)})
|
@Listener({@Filter(SpecialEventsOnly.class),@Filter(AnotherFilter.class)})
|
||||||
public void handleFiltered(SubTestEvent event) {
|
public void handleFiltered(SubTestEvent event) {
|
||||||
//do something special here
|
//do something special here
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user