接口的使用
org.springframework.beans.BeanWrapper
使用BeanWrapper的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factorypackage.org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.org.springframework.jms.listener.endpoint This package provides JCA-based endpoint management for JMS message listeners.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.filter Provides generic filter base classes allowing for bean-style configuration.org.springframework.web.servlet Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.org.springframework.beans中BeanWrapper的使用
实现BeanWrapper的org.springframework.beans中的类 修饰符和类型 类 说明 classBeanWrapperImplDefaultBeanWrapperimplementation that should be sufficient for all typical use cases.返回BeanWrapper的org.springframework.beans中的方法 修饰符和类型 方法 说明 static BeanWrapperPropertyAccessorFactory. forBeanPropertyAccess(Object target)Obtain a BeanWrapper for the given target object, accessing properties in JavaBeans style.org.springframework.beans.factory.support中BeanWrapper的使用
返回BeanWrapper的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected BeanWrapperAbstractAutowireCapableBeanFactory. autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs)"autowire constructor" (with constructor arguments by type) behavior.protected BeanWrapperAbstractAutowireCapableBeanFactory. createBeanInstance(String beanName, RootBeanDefinition mbd, Object[] args)Create a new instance for the specified bean, using an appropriate instantiation strategy: factory method, constructor autowiring, or simple instantiation.protected BeanWrapperAbstractAutowireCapableBeanFactory. instantiateBean(String beanName, RootBeanDefinition mbd)Instantiate the given bean using its default constructor.protected BeanWrapperAbstractAutowireCapableBeanFactory. instantiateUsingFactoryMethod(String beanName, RootBeanDefinition mbd, Object[] explicitArgs)Instantiate the bean using a named factory method.protected BeanWrapperAbstractAutowireCapableBeanFactory. obtainFromSupplier(Supplier<?> instanceSupplier, String beanName)Obtain a bean instance from the given supplier.参数类型为BeanWrapper的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected voidAbstractAutowireCapableBeanFactory. applyPropertyValues(String beanName, BeanDefinition mbd, BeanWrapper bw, PropertyValues pvs)Apply the given property values, resolving any runtime references to other beans in this bean factory.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.protected PropertyDescriptor[]AbstractAutowireCapableBeanFactory. filterPropertyDescriptorsForDependencyCheck(BeanWrapper bw)Extract a filtered set of PropertyDescriptors from the given BeanWrapper, excluding ignored dependency types or properties defined on ignored dependency interfaces.protected PropertyDescriptor[]AbstractAutowireCapableBeanFactory. filterPropertyDescriptorsForDependencyCheck(BeanWrapper bw, boolean cache)Extract a filtered set of PropertyDescriptors from the given BeanWrapper, excluding ignored dependency types or properties defined on ignored dependency interfaces.protected voidAbstractBeanFactory. initBeanWrapper(BeanWrapper bw)Initialize the given BeanWrapper with the custom editors registered with this factory.protected voidAbstractAutowireCapableBeanFactory. populateBean(String beanName, RootBeanDefinition mbd, BeanWrapper bw)Populate the bean instance in the given BeanWrapper with the property values from the bean definition.protected String[]AbstractAutowireCapableBeanFactory. unsatisfiedNonSimpleProperties(AbstractBeanDefinition mbd, BeanWrapper bw)Return an array of non-simple bean properties that are unsatisfied.org.springframework.jdbc.core中BeanWrapper的使用
参数类型为BeanWrapper的org.springframework.jdbc.core中的方法 修饰符和类型 方法 说明 protected voidBeanPropertyRowMapper. initBeanWrapper(BeanWrapper bw)Initialize the given BeanWrapper to be used for row mapping.org.springframework.jms.listener.endpoint中BeanWrapper的使用
参数类型为BeanWrapper的org.springframework.jms.listener.endpoint中的方法 修饰符和类型 方法 说明 protected voidDefaultJmsActivationSpecFactory. applyAcknowledgeMode(BeanWrapper bw, int ackMode)This implementation mapsSESSION_TRANSACTEDonto an ActivationSpec property named "useRAManagedTransaction", if available (following ActiveMQ's naming conventions).protected voidStandardJmsActivationSpecFactory. applyAcknowledgeMode(BeanWrapper bw, int ackMode)Apply the specified acknowledge mode to the ActivationSpec object.protected voidDefaultJmsActivationSpecFactory. populateActivationSpecProperties(BeanWrapper bw, JmsActivationSpecConfig config)This implementation supports Spring's extended "maxConcurrency" and "prefetchSize" settings through detecting corresponding ActivationSpec properties: "maxSessions"/"maxNumberOfWorks" and "maxMessagesPerSessions"/"maxMessages", respectively (following ActiveMQ's and JORAM's naming conventions).protected voidStandardJmsActivationSpecFactory. populateActivationSpecProperties(BeanWrapper bw, JmsActivationSpecConfig config)Populate the given ApplicationSpec object with the settings defined in the given configuration object.org.springframework.validation中BeanWrapper的使用
返回BeanWrapper的org.springframework.validation中的方法 修饰符和类型 方法 说明 protected BeanWrapperBeanPropertyBindingResult. createBeanWrapper()Create a newBeanWrapperfor the underlying target object.org.springframework.web.filter中BeanWrapper的使用
参数类型为BeanWrapper的org.springframework.web.filter中的方法 修饰符和类型 方法 说明 protected voidGenericFilterBean. initBeanWrapper(BeanWrapper bw)Initialize the BeanWrapper for this GenericFilterBean, possibly with custom editors.org.springframework.web.servlet中BeanWrapper的使用
参数类型为BeanWrapper的org.springframework.web.servlet中的方法 修饰符和类型 方法 说明 protected voidHttpServletBean. initBeanWrapper(BeanWrapper bw)Initialize the BeanWrapper for this HttpServletBean, possibly with custom editors.