getConnectorBOHandlerForBO()

Retrieves the business object handler for a specified business object definition.

Syntax

public CWConnectorBOHandler getConnectorBOHandlerForBO(
   String busObjName);

Parameters

busObjName
Is the name of a business object.

Return values

A reference to a CWConnectorBOHandler object, which represents the business object handler for the busObjName business object.

Exceptions

None.

Notes

The connector framework calls the getConnectorBOHandlerForBO() method to retrieve the business object handler for a business object definition. You can use one business object handler for multiple business object definitions or a business object handler for each business object definition.

Important:
The CWConnectorAgent class provides a default implementation for the getConnectorBOHandlerForBO() method. Therefore, you can either use this default implementation or override the method to return your own business-object-handler class.

The CWConnectorAgent class provides a default implementation for the getConnectorBOHandlerForBO() method, which returns a reference to a business object handler of the ConnectorBOHandler class. To use this default implementation, you would extend the CWConnectorBOHandler class, naming this extended class ConnectorBOHandler. If you name your business-object-handler base class something other than ConnectorBOHandler, you must override getConnectorBOHandlerForBO() to return a reference to your extended business-object-handler base class.

Copyright IBM Corporation 1997, 2004. All Rights Reserved.