Reintroducing deprecated addConstructorArg variant
Still used by Spring Security 2.0.x's NamespaceHandler etc.
This commit is contained in:
@@ -166,6 +166,16 @@ public class BeanDefinitionBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an indexed constructor arg value. The current index is tracked internally
|
||||
* and all additions are at the present point.
|
||||
* @deprecated since Spring 2.5, in favor of {@link #addConstructorArgValue}
|
||||
*/
|
||||
@Deprecated
|
||||
public BeanDefinitionBuilder addConstructorArg(Object value) {
|
||||
return addConstructorArgValue(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an indexed constructor arg value. The current index is tracked internally
|
||||
* and all additions are at the present point.
|
||||
|
||||
Reference in New Issue
Block a user