Although the automatic approach to introspection afforded by applying design patterns is useful and powerful, there may be situations where you want to
explicitly provide information
about a Bean for introspection purposes.
JavaBeans supports the explicit inclusion of Bean information through Bean information classes.
A Bean information class is a special class that can contain the following information about a Bean:
- Description of a Bean
- Icons for visually representing the Bean in design tools, toolbars, etc.
- Properties of a Bean
- Events broadcast by a Bean
- Methods supported by a Bean