类的使用
org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
使用ConstructorArgumentValues.ValueHolder的程序包 程序包 说明 org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.config中ConstructorArgumentValues.ValueHolder的使用
返回ConstructorArgumentValues.ValueHolder的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues.ValueHolder. copy()
Create a copy of this ValueHolder: that is, an independent ValueHolder instance with the same contents.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getArgumentValue(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.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getArgumentValue(int index, Class<?> requiredType, String requiredName)
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders)
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getGenericArgumentValue(Class<?> requiredType)
Look for a generic argument value that matches the given type.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getGenericArgumentValue(Class<?> requiredType, String requiredName)
Look for a generic argument value that matches the given type.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getGenericArgumentValue(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> 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.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getIndexedArgumentValue(int index, Class<?> requiredType)
Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getIndexedArgumentValue(int index, Class<?> requiredType, String requiredName)
Get argument value for the given index in the constructor argument list.返回变量类型为ConstructorArgumentValues.ValueHolder的类型的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 List<ConstructorArgumentValues.ValueHolder>
ConstructorArgumentValues. getGenericArgumentValues()
Return the list of generic argument values.Map<Integer,ConstructorArgumentValues.ValueHolder>
ConstructorArgumentValues. getIndexedArgumentValues()
Return the map of indexed argument values.参数类型为ConstructorArgumentValues.ValueHolder的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 void
ConstructorArgumentValues. addGenericArgumentValue(ConstructorArgumentValues.ValueHolder newValue)
Add a generic argument value to be matched by type or name (if available).void
ConstructorArgumentValues. addIndexedArgumentValue(int index, ConstructorArgumentValues.ValueHolder newValue)
Add an argument value for the given index in the constructor argument list.类型变量类型为ConstructorArgumentValues.ValueHolder的org.springframework.beans.factory.config中的方法参数 修饰符和类型 方法 说明 ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders)
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.ValueHolder
ConstructorArgumentValues. getGenericArgumentValue(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> 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.protected void
BeanDefinitionVisitor. visitGenericArgumentValues(List<ConstructorArgumentValues.ValueHolder> gas)
protected void
BeanDefinitionVisitor. visitIndexedArgumentValues(Map<Integer,ConstructorArgumentValues.ValueHolder> ias)