类 ExtendedBeanInfoFactory
- java.lang.Object
- org.springframework.beans.ExtendedBeanInfoFactory
- 所有已实现的接口:
BeanInfoFactory
,Ordered
public class ExtendedBeanInfoFactory extends 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-definedBeanInfoFactory
types to take precedence.- 从以下版本开始:
- 3.2
- 作者:
- Chris Beams
- 另请参阅:
BeanInfoFactory
,CachedIntrospectionResults
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
构造器概要
构造器 构造器 说明 ExtendedBeanInfoFactory()
构造器详细资料
ExtendedBeanInfoFactory
public ExtendedBeanInfoFactory()
方法详细资料
getBeanInfo
public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException
Return anExtendedBeanInfo
for the given bean class, if applicable.- 指定者:
getBeanInfo
在接口中BeanInfoFactory
- 参数:
beanClass
- the bean class- 返回:
- the BeanInfo, or
null
if the given class is not supported - 抛出:
IntrospectionException
- in case of exceptions
getOrder
public int getOrder()
从接口复制的说明: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.
- 指定者:
getOrder
在接口中Ordered
- 返回:
- the order value
- 另请参阅:
Ordered.HIGHEST_PRECEDENCE
,Ordered.LOWEST_PRECEDENCE