Introspector.getBeanInfo

Introspector.getBeanInfo

Class Overview | Class Members | This Package | All Packages

Syntax 1
public static BeanInfo getBeanInfo( Class beanClass ) throws IntrospectionException
Parameters
beanClass
The bean class to be analyzed.
Returns
A BeanInfo object describing the target bean.
Description
Introspect on a Java bean and learn about all its properties, exposed methods, and events.

Exceptions
IntrospectionException if an exception occurs during introspection.



Syntax 2
public static BeanInfo getBeanInfo( Class beanClass, Class stopClass ) throws IntrospectionException
Parameters
bean
The bean class to be analyzed.
stopClass
The baseclass at which to stop the analysis. Any methods/properties/events in the stopClass or in its baseclasses will be ignored in the analysis.
Description
Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point.

Exceptions
IntrospectionException if an exception occurs during introspection.