类 ExtendedBeanInfoFactory
- java.lang.Object
- org.springframework.beans.ExtendedBeanInfoFactory
- 所有已实现的接口:
BeanInfoFactory,Ordered
public class ExtendedBeanInfoFactory extends Object implements BeanInfoFactory, Ordered
BeanInfoFactoryimplementation that evaluates whether bean classes have "non-standard" JavaBeans setter methods and are thus candidates for introspection by Spring's (package-visible)ExtendedBeanInfoimplementation.Ordered at
Ordered.LOWEST_PRECEDENCEto allow other user-definedBeanInfoFactorytypes 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 anExtendedBeanInfofor the given bean class, if applicable.- 指定者:
getBeanInfo在接口中BeanInfoFactory- 参数:
beanClass- the bean class- 返回:
- the BeanInfo, or
nullif the given class is not supported - 抛出:
IntrospectionException- in case of exceptions
getOrder
public int getOrder()
从接口复制的说明:OrderedGet 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-startupvalues).Same order values will result in arbitrary sort positions for the affected objects.
- 指定者:
getOrder在接口中Ordered- 返回:
- the order value
- 另请参阅:
Ordered.HIGHEST_PRECEDENCE,Ordered.LOWEST_PRECEDENCE