org.springframework.test.context.transaction
Annotation Type AfterTransaction


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface AfterTransaction

Test annotation to indicate that the annotated public void method should be executed after a transaction is ended for test methods configured to run within a transaction via the @Transactional annotation.

The @AfterTransaction methods of superclasses will be executed after those of the current class.

Since:
2.5
Author:
Sam Brannen
See Also:
Transactional



Copyright © 2002-2008 The Spring Framework.