org.flexiblepower.messaging
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Filter
Filter
annotation is used on MessageListener
s to limit the type of messages that are received by
it.Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?>[] |
value
The type of messages that should be received by the
MessageListener . |
public abstract java.lang.Class<?>[] value
MessageListener
. When you want to receive all
messages, leave this empty (also the default).