public class ExtendedBeanInfoFactory extends Object implements Ordered, BeanInfoFactory
BeanInfoFactory implementation that evaluates whether bean classes have
"non-standard" JavaBeans setter methods and are thus candidates for introspection by
Spring's ExtendedBeanInfo.
Ordered at Ordered.LOWEST_PRECEDENCE to allow other user-defined
BeanInfoFactory types to take precedence.
BeanInfoFactoryHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
ExtendedBeanInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
BeanInfo |
getBeanInfo(Class<?> beanClass)
Return a new
ExtendedBeanInfo for the given bean class. |
int |
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException
ExtendedBeanInfo for the given bean class.getBeanInfo in interface BeanInfoFactorybeanClass - the bean classnull if not the given class is not supportedIntrospectionException - in case of exceptionspublic int getOrder()
OrderedNormally 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).