Rule Builder > Business Object Models > Working With the BOM > Importing Classes from the XOM into the BOM

This is useful for reloading Java classes into the BOM when they have been changed in the XOM. To import classes from the XOM into the BOM, you can do either of the following:

The Rule Builder opens a dialog box for you to choose your BOM classes from those you specified in the Execution Object Model panel of the Deployer Settings dialog box, as shown in Figure 8.3.

images/bomImport.gif

Figure 8.3    Import Class Dialog Box

The top part of the dialog box displays the available execution classes that you specified using the XOM paths and the bottom part displays the classes you chose.

You can use the three buttons at the top of the Import Class dialog box to filter the list of available classes, see Table 8.1:

Table 8.1   Import Class Dialog Box Classpath Buttons
Button 
Path 
Description 

images/bootClasspath_buttona.png

Boot Java Classpath  Lists the execution classes that are indicated by the Boot Java Classpath. 

images/systemClasspath_buttona.png

System Java Classpath  Lists the execution classes that are indicated by the System Java Classpath. 

images/userClasspath_buttona.png

User Java Classpath  Lists the execution classes that are indicated by the User Java Classpath and the User Dynamic Class. 

You can switch the display of the list of available execution classes using the buttons shown in Table 8.2:

Table 8.2   Import Class Dialog Box View Buttons
Button 
View 
Description 

images/classHierarchy_buttona.png

Package Tree View  Displays the available execution classes in a hierarchy of packages. If you select a package in this view, all the classes and subpackages of the package are added to the BOM. 

images/classList_buttona.png

Package List View  Displays the available classes as a list of packages. In this view, only the classes of the packages you select are added. 

To choose a class, open the package that contains the class you require and select it. Its full name is displayed in the text field below the list of available execution classes. Click the arrow in the middle of the dialog box, or double-click the class. The class is then displayed in the list of chosen BOM classes.

To select several classes and packages at the same time, use Shift-click and Ctrl-click.

To remove classes from the list of chosen BOM classes if you have accidentally added a class, use the Delete button at the bottom of the Import Class dialog box.

See Also

Completing Class Information Using the XOM | Working With the BOM Explorer | Boot Java Classpath | System Java Classpath | User Java Classpath | User Dynamic Classes


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT