# Describing a Bean

The BeanInfo provides a description of a POJO. This information allows the microcontainer to know what can be done with the bean.

This is similar to the BeanInfo provided by the java.beans package but some java environments like J2ME do not include this package because it has dependencies on AWT.

## BeanInfoFactory - retrieveing bean descriptions

The `BeanInfoFactory` is used to create BeanInfos for a given class.

    BeanInfo getBeanInfo(String className)

The default implementation is the IntrospectionBeanInfoFactory which uses reflection.

## BeanInfo - information about a bean

The BeanInfo provides top level information and access to the more detailed information about the bean.

## PropertyInfo - information about a property

The PropertyInfo describes an property, i.e. something that follows the

    Type getX(); void setX(Type x)

javabean pattern.

## EventInfo - information about an event

The EventInfo describes an event.