|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2015 the original author or authors. |
|
|
|
* Copyright 2002-2016 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
@ -166,6 +166,17 @@ public class BeanDefinitionBuilder { |
|
|
|
return this; |
|
|
|
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}. |
|
|
|
|
|
|
|
* This variant just remains around for Spring Security 2.x compatibility. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
|
|
|
public BeanDefinitionBuilder addConstructorArg(Object value) { |
|
|
|
|
|
|
|
return addConstructorArgValue(value); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Add an indexed constructor arg value. The current index is tracked internally |
|
|
|
* Add an indexed constructor arg value. The current index is tracked internally |
|
|
|
* and all additions are at the present point. |
|
|
|
* and all additions are at the present point. |
|
|
|