public class BeanClassTyper extends java.lang.Object implements DynamicBeanTyper
This class is an implementation of DynamicBeanTyper that treats a java.lang.Class as a dynamic bean type, thus permitting a regular JavaBean to reveal its BeanInfo through the DynamicBeanInfo interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
BeanClassTyper() |
Modifier and Type | Method and Description |
---|---|
DynamicBeanInfo |
getBeanInfoFromType(java.lang.Object pBeanType)
Create a DynamicBeanInfo for some Class.
|
public DynamicBeanInfo getBeanInfoFromType(java.lang.Object pBeanType) throws java.beans.IntrospectionException
getBeanInfoFromType
in interface DynamicBeanTyper
pBeanType
- an object describing some set of beansjava.beans.IntrospectionException
- if no information is available.