File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
spring-beans/src/main/java/org/springframework/beans/factory/support Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2015 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -166,6 +166,17 @@ public BeanDefinitionBuilder setFactoryMethod(String factoryMethod) {
166
166
return this ;
167
167
}
168
168
169
+ /**
170
+ * Add an indexed constructor arg value. The current index is tracked internally
171
+ * and all additions are at the present point.
172
+ * @deprecated since Spring 2.5, in favor of {@link #addConstructorArgValue}.
173
+ * This variant just remains around for Spring Security 2.x compatibility.
174
+ */
175
+ @ Deprecated
176
+ public BeanDefinitionBuilder addConstructorArg (Object value ) {
177
+ return addConstructorArgValue (value );
178
+ }
179
+
169
180
/**
170
181
* Add an indexed constructor arg value. The current index is tracked internally
171
182
* and all additions are at the present point.
You can’t perform that action at this time.
0 commit comments