Package org.apache.commons.beanutils2
Class DefaultBeanIntrospector
java.lang.Object
org.apache.commons.beanutils2.DefaultBeanIntrospector
- All Implemented Interfaces:
- BeanIntrospector
 The default BeanIntrospector implementation.
 
 This class implements a default bean introspection algorithm based on the JDK classes in the java.beans package. It discovers properties conforming
 to the Java Beans specification.
 
 This class is a singleton. The single instance can be obtained using the INSTANCE field. It does not define any state and thus can be shared by
 arbitrary clients. PropertyUtils per default uses this instance as its only BeanIntrospector object.
 
- Since:
- 1.9
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final BeanIntrospectorThe singleton instance of this class.
- 
Method SummaryModifier and TypeMethodDescriptionvoidintrospect(IntrospectionContext icontext) Performs introspection of a specific Java class.
- 
Field Details- 
INSTANCEThe singleton instance of this class.
 
- 
- 
Method Details- 
introspectPerforms introspection of a specific Java class. This implementation uses thejava.beans.Introspector.getBeanInfo()method to obtain all property descriptors for the current class and adds them to the passed in introspection context.- Specified by:
- introspectin interface- BeanIntrospector
- Parameters:
- icontext- the introspection context
 
 
-