public class NamedConstructorArgs extends Object
Constructor and Description |
---|
NamedConstructorArgs() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValue(String name,
Class type,
Object value)
Adds a default value for a property with the specified name and type.
|
List |
getDefaultValues()
Gets the default values that are assigned to constructor arguments without a defined value.
|
void |
processParameters(org.springframework.beans.factory.config.BeanDefinitionHolder definitionHolder,
MappingMetaData metadata) |
void |
setDefaultValues(List defaultValues)
Sets the default values that are assigned to constructor arguments without a defined value.
|
public List getDefaultValues()
public void setDefaultValues(List defaultValues)
defaultValues
- the values that are assigned to constructor arguments without a defined valuepublic void addDefaultValue(String name, Class type, Object value)
name
- the name of the propertytype
- the type of the propertyvalue
- the default value for a property with the specified name and typepublic void processParameters(org.springframework.beans.factory.config.BeanDefinitionHolder definitionHolder, MappingMetaData metadata) throws org.springframework.beans.BeansException
org.springframework.beans.BeansException
Copyright © 2005–2015. All rights reserved.