getBOHandlerforBO()

Retrieves the business object handler for a business object definition.

Syntax

virtual BOHandlerCPP * getBOHandlerforBO(char * busObjName) = 0;
 

Parameters

busObjName [in]
Is the name of a business object.

Return values

A pointer to a business object handler.

Notes

The class library calls the getBOHandlerforBO() method to retrieve the business object handler for a business object definition.

Important:
The getBOHandlerforBO() method is a virtual method that you must implement for the connector.

You can use one business object handler for multiple business object definitions or a business object handler for each business object definition.

Examples

BOHandlerCPP *AppGlobal::getBOHandlerforBO(char * BOName)
 {
    static AppGlobal &pGlobal = NULL;
    if (NULL == pGlobal) {
       pGlobal = new AppGlobal();
    }
    return pGlobal;
 }
 

See also

See also the description of the BOHandlerCPP class.

Copyright IBM Corp. 1997, 2003