BeanDescriptor

public class BeanDescriptor extends FeatureDescriptor

Describes a bean's global information.

Public Constructor Summary

BeanDescriptor(Class<?> beanClass, Class<?> customizerClass)

Constructs an instance with the bean's Class and a customizer Class.

BeanDescriptor(Class<?> beanClass)

Constructs an instance with the bean's Class.

Public Method Summary

Class<?>
getBeanClass()

Gets the bean's Class.

Class<?>
getCustomizerClass()

Gets the bean's customizer Class/

Inherited Method Summary

Public Constructors

public BeanDescriptor (Class<?> beanClass, Class<?> customizerClass)

Constructs an instance with the bean's Class and a customizer Class. The descriptor's getName() is set as the unqualified name of the beanClass.

Parameters
beanClass The bean's Class.
customizerClass The bean's customizer Class.

public BeanDescriptor (Class<?> beanClass)

Constructs an instance with the bean's Class. The descriptor's getName() is set as the unqualified name of the beanClass.

Parameters
beanClass The bean's Class.

Public Methods

public Class<?> getBeanClass ()

Gets the bean's Class.

Returns

public Class<?> getCustomizerClass ()

Gets the bean's customizer Class/

Returns
  • A Class instance or null.