org.apache.xbean.spring.context.impl
public class NamedConstructorArgs extends java.lang.Object
Constructor and Description |
---|
NamedConstructorArgs() |
Modifier and Type | Method and 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 NamedConstructorArgs()
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.BeansException
Copyright © 2005-2014. All Rights Reserved.