init()

Initializes the connector.

Syntax

public int init();

Parameters

None.

Return values

An integer that indicates the status of the initialization operation. If the initialization operation succeeds, returns CxStatusConstants.SUCCEED; otherwise, it returns a negative value. Possible failure values are:

CxStatusConstants.FAIL
Initialization failed.
CxStatusConstants.UNABLETOLOGIN
The connector is unable to log in to the application.

Notes

The connector framework calls the init() method to initialize the connector when the connector starts up. Be sure to implement all of the initialization for the connector, such as logging on to an application, in the init() method.

Important:
The init() method is an abstract method that you must implement for the connector.

Copyright IBM Corporation 1997, 2004. All Rights Reserved.