类的使用
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.factorypackage.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.annotationpackage.org.springframework.beans中MutablePropertyValues的使用
返回MutablePropertyValues的org.springframework.beans中的方法 修饰符和类型 方法 说明 MutablePropertyValuesMutablePropertyValues. add(String propertyName, Object propertyValue)Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).MutablePropertyValuesMutablePropertyValues. addPropertyValue(PropertyValue pv)Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).MutablePropertyValuesMutablePropertyValues. addPropertyValues(Map<?,?> other)Add all property values from the given Map.MutablePropertyValuesMutablePropertyValues. addPropertyValues(PropertyValues other)Copy all given PropertyValues into this object.org.springframework.beans.factory.config中MutablePropertyValues的使用
返回MutablePropertyValues的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 MutablePropertyValuesBeanDefinition. getPropertyValues()Return the property values to be applied to a new instance of the bean.参数类型为MutablePropertyValues的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 protected voidBeanDefinitionVisitor. visitPropertyValues(MutablePropertyValues pvs)org.springframework.beans.factory.support中MutablePropertyValues的使用
返回MutablePropertyValues的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 MutablePropertyValuesAbstractBeanDefinition. getPropertyValues()Return property values for this bean (nevernull).参数类型为MutablePropertyValues的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected voidAbstractAutowireCapableBeanFactory. 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 voidAbstractAutowireCapableBeanFactory. autowireByType(String beanName, AbstractBeanDefinition mbd, BeanWrapper bw, MutablePropertyValues pvs)Abstract method defining "autowire by type" (bean properties by type) behavior.voidAbstractBeanDefinition. 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中的方法 修饰符和类型 方法 说明 voidStaticApplicationContext. registerPrototype(String name, Class<?> clazz, MutablePropertyValues pvs)Register a prototype bean with the underlying bean factory.voidStaticApplicationContext. 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 voidDataBinder. applyPropertyValues(MutablePropertyValues mpvs)Apply given property values to the target object.protected voidDataBinder. checkAllowedFields(MutablePropertyValues mpvs)Check the given property values against the allowed fields, removing values for fields that are not allowed.protected voidDataBinder. checkRequiredFields(MutablePropertyValues mpvs)Check the given property values against the required fields, generating missing field errors where appropriate.protected voidDataBinder. 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的子类 修饰符和类型 类 说明 classServletRequestParameterPropertyValuesPropertyValues implementation created from parameters in a ServletRequest.参数类型为MutablePropertyValues的org.springframework.web.bind中的方法 修饰符和类型 方法 说明 protected voidServletRequestDataBinder. addBindValues(MutablePropertyValues mpvs, ServletRequest request)Extension point that subclasses can use to add extra bind values for a request.protected voidWebDataBinder. 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 voidWebDataBinder. checkFieldDefaults(MutablePropertyValues mpvs)Check the given property values for field defaults, i.e. for fields that start with the field default prefix.protected voidWebDataBinder. checkFieldMarkers(MutablePropertyValues mpvs)Check the given property values for field markers, i.e. for fields that start with the field marker prefix.protected voidWebDataBinder. 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 voidExtendedServletRequestDataBinder. addBindValues(MutablePropertyValues mpvs, ServletRequest request)Merge URI variables into the property values to use for data binding.