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

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3033 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Sam Brannen
2010-02-23 17:43:00 +00:00
parent 61188f183b
commit eb32403fcd
2 changed files with 55 additions and 16 deletions
@@ -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 {