|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageListener
Callback interface for observing every message on the bus before that message
is sent to any message callbacks
. A MessageListener
can cancel delivery of a message.
If your goal is to implement security policies around messages to a
particular subject, org.jboss.errai.bus.client.api.BooleanRoutingRule
is a better choice than
MessageListener.
Method Summary | |
---|---|
boolean |
handleMessage(Message message)
Called by the Message Bus before the given message is routed to any MessageListeners. |
Method Detail |
---|
boolean handleMessage(Message message)
message
- The message being processed by the bus.
message
should be allowed to proceed;
false if message
must not be delivered.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |