Java org.springframework.beans.factory.config ConstructorArgumentValues fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans.factory.config ConstructorArgumentValues fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans.factory.config ConstructorArgumentValues.

The text is from its open source code.

Constructor

ConstructorArgumentValues()
Create a new empty ConstructorArgumentValues object.

Method

voidaddArgumentValues(@Nullable ConstructorArgumentValues other)
Copy all given argument values into this object, using separate holder instances to keep the values independent from the original object.
voidaddGenericArgumentValue(Object value)
Add a generic argument value to be matched by type.
voidaddGenericArgumentValue(ValueHolder newValue)
Add a generic argument value to be matched by type or name (if available).
voidaddGenericArgumentValue(Object value, String type)
Add a generic argument value to be matched by type.
voidaddIndexedArgumentValue(int index, @Nullable Object value)
Add an argument value for the given index in the constructor argument list.
voidaddIndexedArgumentValue(int index, ValueHolder newValue)
Add an argument value for the given index in the constructor argument list.
voidaddIndexedArgumentValue(int index, @Nullable Object value, String type)
Add an argument value for the given index in the constructor argument list.
voidclear()
Clear this holder, removing all argument values.
intgetArgumentCount()
Return the number of argument values held in this instance, counting both indexed and generic argument values.
ValueHoldergetArgumentValue(int index, Class requiredType)
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.
ValueHoldergetArgumentValue(int index, @Nullable Class requiredType, @Nullable String requiredName, @Nullable Set usedValueHolders)
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.
ValueHoldergetGenericArgumentValue(@Nullable Class requiredType, @Nullable String requiredName, @Nullable Set usedValueHolders)
Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.
ListgetGenericArgumentValues()
Return the list of generic argument values.
ValueHoldergetIndexedArgumentValue(int index, @Nullable Class requiredType)
Get argument value for the given index in the constructor argument list.
MapgetIndexedArgumentValues()
Return the map of indexed argument values.
booleanhasIndexedArgumentValue(int index)
Check whether an argument value has been registered for the given index.