Setting Instantiation Policy

Use the Instantiation tab to specify if objects are instantiated by the default constructor, a specific method, or a factory.

To set the instantiation policy:

  1. In the Structure window, select a descriptor.
    If the Instantiation advanced property is not visible for the descriptor, right-click the descriptor and choose Advanced Properties | Instantiation from the pop-up menu.
  2. Click the Instantiation tab.

    Figure 4-28 Instantiation Tab

    This figure shows the Instantiation tab.

  3. Complete the information on the Instantiation Tab tab.

Related Topics

About TopLink Descriptors

Working with Instantiation Policy
Working with Descriptors
Working with Descriptor Properties
Working with Advanced Properties

 

Copyright © 1997, 2004, Oracle. All rights reserved.