Reintroducing deprecated addConstructorArg variant

Still used by Spring Security 2.0.x's NamespaceHandler etc.
This commit is contained in:
Juergen Hoeller
2013-08-27 23:29:41 +02:00
parent b75fa9d7a7
commit 1e64eed6b2

View File

@@ -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.