Package org.springframework.beans
Class ExtendedBeanInfoFactory
java.lang.Object
org.springframework.beans.StandardBeanInfoFactory
org.springframework.beans.ExtendedBeanInfoFactory
- All Implemented Interfaces:
BeanInfoFactory,Ordered
Extension of
StandardBeanInfoFactory that supports "non-standard"
JavaBeans setter methods through introspection by Spring's
(package-visible) ExtendedBeanInfo implementation.
To be configured via a META-INF/spring.factories file with the following content:
org.springframework.beans.BeanInfoFactory=org.springframework.beans.ExtendedBeanInfoFactory
Ordered at Ordered.LOWEST_PRECEDENCE to allow other user-defined
BeanInfoFactory types to take precedence.
- Since:
- 3.2
- Author:
- Chris Beams, Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from class org.springframework.beans.StandardBeanInfoFactory
IGNORE_BEANINFO_PROPERTY_NAMEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBeanInfo(Class<?> beanClass) Return the bean info for the given class, if supported.Methods inherited from class org.springframework.beans.StandardBeanInfoFactory
getOrder
-
Constructor Details
-
ExtendedBeanInfoFactory
public ExtendedBeanInfoFactory()
-
-
Method Details
-
getBeanInfo
Description copied from interface:BeanInfoFactoryReturn the bean info for the given class, if supported.- Specified by:
getBeanInfoin interfaceBeanInfoFactory- Overrides:
getBeanInfoin classStandardBeanInfoFactory- Parameters:
beanClass- the bean class- Returns:
- the BeanInfo, or
nullif the given class is not supported - Throws:
IntrospectionException- in case of exceptions
-