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()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
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
Normally starting with 0, with Integer.MAX_VALUE
indicating the greatest value. Same order values will result
in arbitrary positions for the affected objects.
Higher values can be interpreted as lower priority. As a consequence, the object with the lowest value has highest priority (somewhat analogous to Servlet "load-on-startup" values).