The bean interface defines the property, event, and method features of your bean. These features can be used in visual composition when your bean is added to another bean. A BeanInfo class describes the bean and features that you add to the bean. Other features are inherited from the superclass of your bean unless you choose not to inherit features. See the related conceptual topic about bean interfaces for more information.
Add features to the bean interface in the BeanInfo page. You can use either the tool bar or Features menu to add a new feature. When you add a feature, VisualAge generates the following:
If you create public methods for the bean in the Methods page, you can add them as features in the BeanInfo page. Select Add Available Features from the Features menu to open the Add Available Features window and add methods as features.
Promote features of embedded beans in the Visual Composition Editor. You can promote features from the pop-up menu of an embedded bean. When you promote a feature, VisualAge generates the following:
Bean interfaces and BeanInfo
How classes and beans are related
Generated code
Creating and modifying a BeanInfo class
Adding property features
Adding method features
Adding event features
Promoting features of embedded beans
Specifying expert features
Specifying hidden features
BeanInfo page
Features--BeanInfo page