atg.beans
Class BeanClassTyper

java.lang.Object
  extended by atg.beans.BeanClassTyper
All Implemented Interfaces:
DynamicBeanTyper

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.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
BeanClassTyper()
           
 
Method Summary
 DynamicBeanInfo getBeanInfoFromType(java.lang.Object pBeanType)
          Create a DynamicBeanInfo for some Class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

BeanClassTyper

public BeanClassTyper()
Method Detail

getBeanInfoFromType

public DynamicBeanInfo getBeanInfoFromType(java.lang.Object pBeanType)
                                    throws java.beans.IntrospectionException
Create a DynamicBeanInfo for some Class.

Specified by:
getBeanInfoFromType in interface DynamicBeanTyper
Parameters:
pBeanType - an object describing some set of beans
Returns:
the DynamicBeanInfo describing the beans.
Throws:
java.beans.IntrospectionException - if no information is available.