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
-
Method Summary
Modifier and TypeMethodDescriptiongetBeanInfo
(Class<?> beanClass) Return anExtendedBeanInfo
for the given bean class, if applicable.int
getOrder()
Get the order value of this object.
-
Constructor Details
-
ExtendedBeanInfoFactory
public ExtendedBeanInfoFactory()
-
-
Method Details
-
getBeanInfo
Return anExtendedBeanInfo
for the given bean class, if applicable.- Specified by:
getBeanInfo
in interfaceBeanInfoFactory
- Parameters:
beanClass
- the bean class- Returns:
- the BeanInfo, or
null
if the given class is not supported - Throws:
IntrospectionException
- in case of exceptions
-
getOrder
public int getOrder()Description copied from interface:Ordered
Get 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-startup
values).Same order values will result in arbitrary sort positions for the affected objects.
-