Promoting Bean Features

If you want to connect to the features of a bean that is embedded within a composite, you must promote bean features. To promote the bean features:

  1. Open the bean pop-up.
  2. Select Promote bean feature.
  3. Select the type of feature: Method, Property, or Event.
  4. From the list box, select the feature you want to promote and >> is enabled.
  5. Click >> and the feature is listed in the Promoted features list.
  6. Repeat for the other features you wish to promote.
  7. If you wish to rename the feature, double-click and modify the name listed in the Promote Name list.
  8. If you wish to remove the feature from the Promoted features list, click <<.
  9. Click OK.

When you promote features, VisualAge performs the following tasks:

When you embed this bean within another bean, the features that you promoted are listed under the type in the Connectable Features window. Connect the promoted feature of each bean to effect the change you desire.


Related concepts
Promotion of Bean Features
Visual Composition Editor Overview

Related references
Promote Bean Feature
Promote Features Window
Visual Composition Editor
Pop-Up Menus for the Visual Composition Editor