BeanInfoFactory implementation that bypasses the standard java.beans.Introspector
for faster introspection, reduced to basic property determination (as commonly needed in Spring).
Used by default in 6.0 through direct invocation from CachedIntrospectionResults.
Potentially configured via a META-INF/spring.factories file with the following content,
overriding other custom org.springframework.beans.BeanInfoFactory declarations:
org.springframework.beans.BeanInfoFactory=org.springframework.beans.SimpleBeanInfoFactory
Ordered at Ordered.LOWEST_PRECEDENCE - 1 to override ExtendedBeanInfoFactory
(registered by default in 5.3) if necessary while still allowing other user-defined
BeanInfoFactory types to take precedence.
ExtendedBeanInfoFactory, CachedIntrospectionResults
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BeanInfo | getBeanInfo(Class<?>
the bean class beanClass)Implements org. |
| public int |
| SimpleBeanInfoFactory | back to summary |
|---|---|
| pack-priv SimpleBeanInfoFactory() | |
| getBeanInfo | back to summary |
|---|---|
| public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException Implements org. Doc from org. Return the bean info for the given class, if supported.
| |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. 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 Same order values will result in arbitrary sort positions for the affected objects.
| |