|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface AsynchronousEventListener
Annotation that marks a class as an Asynchronous EventListener. Postprocessors will detect this bean and wrap it with a suitable AsynchronousEventHandlerWrapper. This type-level annotation allows the definition of the concurrency policy for this EventListener. This annotation allows the configuration of any
arbitrary class, as long as it
implements the EventSequencingPolicy interface. It also needs to have (at
least) a no-arg constructor.
| Optional Element Summary | |
|---|---|
Class<? extends EventSequencingPolicy> |
sequencingPolicyClass
Defines the policy type to use for event handling sequencing. |
public abstract Class<? extends EventSequencingPolicy> sequencingPolicyClass
EventSequencingPolicy and provide an accessible no-arg constructor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||