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 11/*
2- * Copyright 2002-2015 the original author or authors.
2+ * Copyright 2002-2016 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -166,6 +166,17 @@ public BeanDefinitionBuilder setFactoryMethod(String factoryMethod) {
166166 return this ;
167167 }
168168
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+
169180 /**
170181 * Add an indexed constructor arg value. The current index is tracked internally
171182 * and all additions are at the present point.
You can’t perform that action at this time.
0 commit comments