Package | Description |
---|---|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
org.springframework.beans.factory.config |
SPI interfaces and configuration-related convenience classes for bean factories.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
org.springframework.context.support |
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
|
org.springframework.validation |
Provides data binding and validation functionality,
for usage in business and/or UI layers.
|
Modifier and Type | Method and Description |
---|---|
MutablePropertyValues |
MutablePropertyValues.add(String propertyName,
Object propertyValue)
Add a PropertyValue object, replacing any existing one for the
corresponding property or getting merged with it (if applicable).
|
MutablePropertyValues |
MutablePropertyValues.addPropertyValue(PropertyValue pv)
Add a PropertyValue object, replacing any existing one for the
corresponding property or getting merged with it (if applicable).
|
MutablePropertyValues |
MutablePropertyValues.addPropertyValues(Map<?,?> other)
Add all property values from the given Map.
|
MutablePropertyValues |
MutablePropertyValues.addPropertyValues(PropertyValues other)
Copy all given PropertyValues into this object.
|
Modifier and Type | Method and Description |
---|---|
MutablePropertyValues |
BeanDefinition.getPropertyValues()
Return the property values to be applied to a new instance of the bean.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BeanDefinitionVisitor.visitPropertyValues(MutablePropertyValues pvs) |
Modifier and Type | Method and Description |
---|---|
MutablePropertyValues |
AbstractBeanDefinition.getPropertyValues()
Return property values for this bean (never
null ). |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAutowireCapableBeanFactory.autowireByName(String beanName,
AbstractBeanDefinition mbd,
BeanWrapper bw,
MutablePropertyValues pvs)
Fill in any missing property values with references to
other beans in this factory if autowire is set to "byName".
|
protected void |
AbstractAutowireCapableBeanFactory.autowireByType(String beanName,
AbstractBeanDefinition mbd,
BeanWrapper bw,
MutablePropertyValues pvs)
Abstract method defining "autowire by type" (bean properties by type) behavior.
|
void |
AbstractBeanDefinition.setPropertyValues(MutablePropertyValues propertyValues)
Specify property values for this bean, if any.
|
Constructor and Description |
---|
AbstractBeanDefinition(ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new AbstractBeanDefinition with the given
constructor argument values and property values.
|
ChildBeanDefinition(String parentName,
Class beanClass,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent,
providing constructor arguments and property values.
|
ChildBeanDefinition(String parentName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
|
ChildBeanDefinition(String parentName,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
|
ChildBeanDefinition(String parentName,
String beanClassName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent,
providing constructor arguments and property values.
|
RootBeanDefinition(Class beanClass,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values.
|
RootBeanDefinition(Class beanClass,
MutablePropertyValues pvs)
Deprecated.
as of Spring 3.0, in favor of
AbstractBeanDefinition.getPropertyValues() usage |
RootBeanDefinition(Class beanClass,
MutablePropertyValues pvs,
boolean singleton)
Deprecated.
since Spring 2.5, in favor of
AbstractBeanDefinition.setScope(java.lang.String) |
RootBeanDefinition(String beanClassName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values.
|
Modifier and Type | Method and Description |
---|---|
void |
StaticApplicationContext.registerPrototype(String name,
Class clazz,
MutablePropertyValues pvs)
Register a prototype bean with the underlying bean factory.
|
void |
StaticApplicationContext.registerSingleton(String name,
Class clazz,
MutablePropertyValues pvs)
Register a singleton bean with the underlying bean factory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DataBinder.applyPropertyValues(MutablePropertyValues mpvs)
Apply given property values to the target object.
|
protected void |
DataBinder.checkAllowedFields(MutablePropertyValues mpvs)
Check the given property values against the allowed fields,
removing values for fields that are not allowed.
|
protected void |
DataBinder.checkRequiredFields(MutablePropertyValues mpvs)
Check the given property values against the required fields,
generating missing field errors where appropriate.
|
protected void |
DataBinder.doBind(MutablePropertyValues mpvs)
Actual implementation of the binding process, working with the
passed-in MutablePropertyValues instance.
|
Copyright © 2012. All Rights Reserved.