public class NamedConstructorArgs
extends java.lang.Object
| Constructor | Description |
|---|---|
NamedConstructorArgs() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addDefaultValue(java.lang.String name,
java.lang.Class type,
java.lang.Object value) |
Adds a default value for a property with the specified name and type.
|
java.util.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(java.util.List defaultValues) |
Sets the default values that are assigned to constructor arguments without a defined value.
|
public java.util.List getDefaultValues()
public void setDefaultValues(java.util.List defaultValues)
defaultValues - the values that are assigned to constructor arguments without a defined valuepublic void addDefaultValue(java.lang.String name,
java.lang.Class type,
java.lang.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.BeansExceptionCopyright © 2005–2018. All rights reserved.