Class CICSMessageHelper

java.lang.Object
com.ibm.jakarta.connector2.cics.CICSMessageHelper

public class CICSMessageHelper extends Object
This class provides a single point of access to all messages used by the CICS resource adapters. It is a static class and is never instantiated.
  • Field Details

  • Constructor Details

    • CICSMessageHelper

      public CICSMessageHelper()
  • Method Details

    • getString

      public static String getString(String messageId)
      This method retrieve a message from the bundle and formats it suitable for output.
      Parameters:
      messageId - the message key as defined in the MSG xml file for the message
      Returns:
      Message in the language of the ResourceBundle
    • getString

      public static String getString(String messageId, Object[] aobjInserts)
      This method retrieves a message from the bundle and formats it using the specified arguments.
      Parameters:
      messageId - the message key as defined in the MSG xml file for the message
      aobjInserts - an array of insert objects
      Returns:
      String Message in language of ResourceBundle