@Retention(value=RUNTIME) @Inherited @Target(value=METHOD) public @interface Handler
| Modifier and Type | Optional Element and Description |
|---|---|
Invoke |
delivery
Define the mode in which a message is delivered to each listener.
|
boolean |
enabled
Enable or disable the handler.
|
Filter[] |
filters
Add any numbers of filters to the handler.
|
Class<? extends HandlerInvocation> |
invocation
Each handler call is implemented as an invocation object that implements the invocation mechanism.
|
int |
priority
Handlers are ordered by priority and handlers with higher priority are processed before
those with lower priority, i.e.
|
boolean |
rejectSubtypes
Define whether or not the handler accepts sub types of the message type it declares in its
signature.
|
public abstract Filter[] filters
public abstract Invoke delivery
public abstract int priority
public abstract boolean rejectSubtypes
public abstract boolean enabled
public abstract Class<? extends HandlerInvocation> invocation
Copyright © 2013. All Rights Reserved.