Compoze Software, Inc.

com.compoze.ejb
Class BeanInfoWrapper


java.lang.Object

  |

  +--com.compoze.ejb.BeanInfoWrapper


public class BeanInfoWrapper
extends java.lang.Object

This class decorates and provides additional functionality for BeanInfo.


Constructor Summary
BeanInfoWrapper(java.beans.BeanInfo originalBeanInfo)
          Constructor.
 
Method Summary
 java.beans.BeanInfo getBeanInfo()
          Gets the original bean info object.
static BeanInfoWrapper getBeanInfo(java.lang.Class rootClass)
          Gets the bean info wrapper for the specified bean.
 java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String sPropertyName)
          Gets a property descriptor by the property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanInfoWrapper


public BeanInfoWrapper(java.beans.BeanInfo originalBeanInfo)
Constructor.
Method Detail

getBeanInfo


public java.beans.BeanInfo getBeanInfo()
Gets the original bean info object.
Returns:
the bean info

getPropertyDescriptor


public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String sPropertyName)
Gets a property descriptor by the property name.
Parameters:
sPropertyName - the property name

getBeanInfo


public static BeanInfoWrapper getBeanInfo(java.lang.Class rootClass)
                                   throws java.beans.IntrospectionException
Gets the bean info wrapper for the specified bean.
Parameters:
rootClass - the root class to get bean info for
Throws:
java.beans.IntrospectionException - if an introspection exception occurred

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.