类的使用
org.springframework.beans.MutablePropertyValues
使用MutablePropertyValues的程序包 程序包 说明 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 theorg.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.org.springframework.web.bind Provides web-specific data binding functionality.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.beans中MutablePropertyValues的使用
返回MutablePropertyValues的org.springframework.beans中的方法 修饰符和类型 方法 说明 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.org.springframework.beans.factory.config中MutablePropertyValues的使用
返回MutablePropertyValues的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 MutablePropertyValues
BeanDefinition. getPropertyValues()
Return the property values to be applied to a new instance of the bean.参数类型为MutablePropertyValues的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 protected void
BeanDefinitionVisitor. visitPropertyValues(MutablePropertyValues pvs)
org.springframework.beans.factory.support中MutablePropertyValues的使用
返回MutablePropertyValues的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 MutablePropertyValues
AbstractBeanDefinition. getPropertyValues()
Return property values for this bean (nevernull
).参数类型为MutablePropertyValues的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 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.参数类型为MutablePropertyValues的org.springframework.beans.factory.support中的构造器 构造器 说明 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, String beanClassName, 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.RootBeanDefinition(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs)
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition(String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs)
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.org.springframework.context.support中MutablePropertyValues的使用
参数类型为MutablePropertyValues的org.springframework.context.support中的方法 修饰符和类型 方法 说明 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.org.springframework.validation中MutablePropertyValues的使用
参数类型为MutablePropertyValues的org.springframework.validation中的方法 修饰符和类型 方法 说明 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.org.springframework.web.bind中MutablePropertyValues的使用
org.springframework.web.bind中MutablePropertyValues的子类 修饰符和类型 类 说明 class
ServletRequestParameterPropertyValues
PropertyValues implementation created from parameters in a ServletRequest.参数类型为MutablePropertyValues的org.springframework.web.bind中的方法 修饰符和类型 方法 说明 protected void
ServletRequestDataBinder. addBindValues(MutablePropertyValues mpvs, ServletRequest request)
Extension point that subclasses can use to add extra bind values for a request.protected void
WebDataBinder. bindMultipart(Map<String,List<MultipartFile>> multipartFiles, MutablePropertyValues mpvs)
Bind all multipart files contained in the given request, if any (in case of a multipart request).protected void
WebDataBinder. checkFieldDefaults(MutablePropertyValues mpvs)
Check the given property values for field defaults, i.e. for fields that start with the field default prefix.protected void
WebDataBinder. checkFieldMarkers(MutablePropertyValues mpvs)
Check the given property values for field markers, i.e. for fields that start with the field marker prefix.protected void
WebDataBinder. doBind(MutablePropertyValues mpvs)
This implementation performs a field default and marker check before delegating to the superclass binding process.org.springframework.web.servlet.mvc.method.annotation中MutablePropertyValues的使用
参数类型为MutablePropertyValues的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected void
ExtendedServletRequestDataBinder. addBindValues(MutablePropertyValues mpvs, ServletRequest request)
Merge URI variables into the property values to use for data binding.