Instantiation Tab
Use this page to specify if objects are instantiated by the default constructor, a specific method, or a factory.
- Use Default Constructor
- The default constructor of the class instantiates a new instance.
- Use Method
- Specify a Method to execute to create objects from the database.
- Method
- Name of a method to be executed to create objects from the database. The method must be a public, static method on the descriptor's class and must return a new instance of the object.
- Use Factory
- Specify to send the message to an object factory to create objects from the database. The object factory method that is used can be public, private, protected, or default/package, and requires no arguments
- Factory Class
- The class of the factory object that creates the new instances.
- Factory Method
- The message to be sent to obtain a factory object. Choose <nothing> to use the default constructor.
- Instantiation Method
- The method to be sent to the factory object to obtain a new instance that will be populated with data from the database.
Related Topics
Working with Instantiation Policy
Working with Descriptor Properties
Working with Advanced Properties
Copyright © 1997, 2004, Oracle.
All rights reserved.