init()

Performs the ODA initialization tasks.

Syntax

public abstract void init();

Parameters

None.

Return values

None.

Exceptions

ODKException
Thrown if the ODA initialization fails.

Notes

Business Object Designer invokes the init() method to initialize the Object Discovery Agent. It calls init() after its calls to the getAgentProperties() and getMetaData() methods complete. Typically, ODA initialization includes obtaining values for the ODA's configuration properties, establishing a connection to the data source, (which could be an application, database, XML file, or other business object source), and allocating any resources that the ODA requires.

Important:
The init() method is an abstract method that has no default implementation.Therefore, the ODA class must implement this method.

For more information on how to implement init(), see Initializing the ODA start.

Copyright IBM Corp. 1997, 2004