Renamed 'name' attribute to 'scopeName' (in order to avoid common override conflicts)

Issue: SPR-13239
This commit is contained in:
Juergen Hoeller
2015-07-17 15:23:47 +02:00
parent 106cce58cc
commit 9f15f347bf
4 changed files with 12 additions and 11 deletions

View File

@@ -58,10 +58,10 @@ import org.springframework.core.annotation.AliasFor;
public @interface Scope {
/**
* Alias for {@link #name}.
* @see #name
* Alias for {@link #scopeName}.
* @see #scopeName
*/
@AliasFor(attribute = "name")
@AliasFor(attribute = "scopeName")
String value() default "";
/**
@@ -76,7 +76,7 @@ public @interface Scope {
* @see #value
*/
@AliasFor(attribute = "value")
String name() default "";
String scopeName() default "";
/**
* Specifies whether a component should be configured as a scoped proxy