@Documented @Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) public @interface AfterTransaction
Test annotation to indicate that the annotated public void
method
should be executed after a transaction is ended for a test method
configured to run within a transaction via the @Transactional
annotation.
The @AfterTransaction
methods of superclasses will be executed
after those of the current class.
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations.
Transactional
,
BeforeTransaction