Retrieves an instance of ComponentInfo for the specified class.
public static synchronized ComponentInfo getComponentInfo( Class componentClass )
public static synchronized ComponentInfo getComponentInfo( Class componentClass, boolean throwExceptions )
componentClass
The class of the component to retrieve the component information for.
throwExceptions
Set to true to throw an exception if an instance of ComponentInfo could not be created. Set to false to catch the exception and return null. The default value is false.
Exceptions
WFCException thrown if the ComponentInfo object could not be created and throwExceptions is true.
Returns an instance of the ComponentInfo class for the component.
This method uses the component's ClassInfo class to create the ComponentInfo object. This instance of ComponentInfo can be used to retrieve all properties, events, extenders, and attributes of the component.