public class ExtendedBeanInfoFactory extends java.lang.Object implements 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.
BeanInfoFactory
,
CachedIntrospectionResults
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ExtendedBeanInfoFactory() |
Modifier and Type | Method and Description |
---|---|
java.beans.BeanInfo |
getBeanInfo(java.lang.Class<?> beanClass)
Return an
ExtendedBeanInfo for the given bean class, if applicable. |
int |
getOrder()
Get the order value of this object.
|
@Nullable public java.beans.BeanInfo getBeanInfo(java.lang.Class<?> beanClass) throws java.beans.IntrospectionException
ExtendedBeanInfo
for the given bean class, if applicable.getBeanInfo
in interface BeanInfoFactory
beanClass
- the bean classnull
if the given class is not supportedjava.beans.IntrospectionException
- in case of exceptionspublic int getOrder()
Ordered
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.
getOrder
in interface Ordered
Ordered.HIGHEST_PRECEDENCE
,
Ordered.LOWEST_PRECEDENCE