org.axonframework.eventhandling.annotation
Annotation Type TransactionManager


@Target(value=FIELD)
@Retention(value=RUNTIME)
@Documented
public @interface TransactionManager

Annotation that demarcates a field to use as the transaction manager for an EventListener. The annotated field may be a subtype of TransactionManager or any bean with BeforeTransaction and/or AfterTransaction annotated methods.

Note that the behavior is undefined if more than one field is annotated with this annotation.

Since:
0.5
Author:
Allard Buijze



Copyright © 2011. All Rights Reserved.