Package org.springframework.beans
Class ExtendedBeanInfoFactory
java.lang.Object
org.springframework.beans.ExtendedBeanInfoFactory
- All Implemented Interfaces:
BeanInfoFactory,Ordered
BeanInfoFactory implementation that evaluates whether bean classes have
"non-standard" JavaBeans setter methods and are thus candidates for introspection
by Spring's (package-visible) ExtendedBeanInfo implementation.
Ordered at Ordered.LOWEST_PRECEDENCE to allow other user-defined
BeanInfoFactory types to take precedence.
- Since:
- 3.2
- Author:
- Chris Beams
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBeanInfo(Class<?> beanClass) Return anExtendedBeanInfofor the given bean class, if applicable.intgetOrder()Get the order value of this object.
-
Constructor Details
-
ExtendedBeanInfoFactory
public ExtendedBeanInfoFactory()
-
-
Method Details
-
getBeanInfo
Return anExtendedBeanInfofor the given bean class, if applicable.- Specified by:
getBeanInfoin interfaceBeanInfoFactory- Parameters:
beanClass- the bean class- Returns:
- the BeanInfo, or
nullif the given class is not supported - Throws:
IntrospectionException- in case of exceptions
-
getOrder
public int getOrder()Description copied from interface:OrderedGet the order value of this object.Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet
load-on-startupvalues).Same order values will result in arbitrary sort positions for the affected objects.
-