Allow method parameters as target for @Input and @Output
So that they can qualify @Bean method arguments
This commit is contained in:
@@ -34,7 +34,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
|
||||
|
||||
@Qualifier
|
||||
@Target({ ElementType.FIELD, ElementType.METHOD,
|
||||
ElementType.ANNOTATION_TYPE })
|
||||
ElementType.ANNOTATION_TYPE, ElementType.PARAMETER })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
@Documented
|
||||
|
||||
@@ -33,7 +33,8 @@ import org.springframework.beans.factory.annotation.Qualifier;
|
||||
*/
|
||||
|
||||
@Qualifier
|
||||
@Target({ ElementType.FIELD, ElementType.METHOD})
|
||||
@Target({ ElementType.FIELD, ElementType.METHOD,
|
||||
ElementType.ANNOTATION_TYPE, ElementType.PARAMETER })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
@Documented
|
||||
|
||||
Reference in New Issue
Block a user