Some methods in the CWConnectorUtil class were supported in earlier versions but are no longer supported. These deprecated methods will not generate errors, but IBM recommends that you avoid their use and migrate existing code to the new methods. The deprecated methods might be removed in a future release.
Table 134 lists the deprecated methods for the
CWConnectorUtil class. If you are writing a new connector
(not modifying an existing connector), you can ignore this section.
Table 134. Deprecated methods of the CWConnectorUtil class
Deprecated method | Replacement |
---|---|
generateAndLogMsg()
Fourth argument was a count of the number of arguments (argCount) in the msgParameters list. | generateAndLogMsg()
The argCount value is no longer required for this method and can be omitted. The method itself can determine the number of arguments in the msgParameters list. |
generateAndTraceMsg()
Fifth argument was a count of the number of arguments (argCount) in the msgParameters list. | generateAndTraceMsg()
The argCount value is no longer required for this method and can be omitted. The method itself can determine the number of arguments in the msgParameters list. |
generateAndTraceMsg()
Third argument was the message type of the message to generate (msgType). | generateAndTraceMsg()
The msgType value is no longer required for this method and can be omitted. Because the message type for a trace message should always be XRD_TRACE, the method itself can fill in the message type. |