[SPR-6879] @DirtiesContext is now an @Inherited annotation.

This commit is contained in:
Sam Brannen
2010-02-23 17:43:00 +00:00
parent ef227c5d01
commit 80b8fb8b83
2 changed files with 55 additions and 16 deletions

View File

@@ -18,6 +18,7 @@ package org.springframework.test.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -54,6 +55,7 @@ import java.lang.annotation.Target;
* @since 2.0
*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target( { ElementType.TYPE, ElementType.METHOD })
public @interface DirtiesContext {