java.beans

Class BeanDescriptor

public class BeanDescriptor extends FeatureDescriptor

BeanDescriptor describes general information about a Bean, plus stores the Bean's Class and it's customizer's Class.

Since: JDK1.1

Constructor Summary
BeanDescriptor(Class<?> beanClass)
Create a new BeanDescriptor with the given beanClass and no customizer class.
BeanDescriptor(Class<?> beanClass, Class<?> customizerClass)
Create a new BeanDescriptor with the given bean class and customizer class.
Method Summary
Class<?>getBeanClass()
Get the Bean's class.
Class<?>getCustomizerClass()
Get the Bean's customizer's class.

Constructor Detail

BeanDescriptor

public BeanDescriptor(Class<?> beanClass)
Create a new BeanDescriptor with the given beanClass and no customizer class.

Parameters: beanClass the class of the Bean.

BeanDescriptor

public BeanDescriptor(Class<?> beanClass, Class<?> customizerClass)
Create a new BeanDescriptor with the given bean class and customizer class.

Parameters: beanClass the class of the Bean. customizerClass the class of the Bean's Customizer.

Method Detail

getBeanClass

public Class<?> getBeanClass()
Get the Bean's class. *

getCustomizerClass

public Class<?> getCustomizerClass()
Get the Bean's customizer's class. *