Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.plugin.MbService

java.lang.Object
        com.ibm.broker.plugin.MbService

public class MbService
extends Object

MbService contains static methods for writing information to the system log.

Constructor Index
Constructor Description
MbService()  
Method Index
Method Description
void logError(Object, String, String, String, String, Object[]) Writes an error message to the WMQI system log.
void logError(String, String, String, String, String, Object[]) Writes an error message to the WMQI system log.
void logInformation(Object, String, String, String, String, Object[]) Writes an information message to the WMQI system log.
void logInformation(String, String, String, String, String, Object[]) Writes an information message to the WMQI system log.
void logWarning(Object, String, String, String, String, Object[]) Writes a warning message to the WMQI system log.
void logWarning(String, String, String, String, String, Object[]) Writes a warning message to the WMQI system log.

Constructors

MbService

public MbService() 

Methods

logError

public static void logError(Object source,
                            String methodName,
                            String resourceBundleName,
                            String messageKey,
                            String traceText,
                            Object[] inserts) throws MbException

Writes an error message to the WMQI system log. The message has the following format: BIP4362E: Java user-defined node error: [MessageSource:MessageKey] Full message with inserts resolved: traceText

logError

public static void logError(String className,
                            String methodName,
                            String resourceBundleName,
                            String messageKey,
                            String traceText,
                            Object[] inserts) throws MbException

Writes an error message to the WMQI system log. The message has the following format: BIP4362E: Java user-defined node error: [MessageSource:MessageKey] Full message with inserts resolved: traceText

logInformation

public static void logInformation(Object source,
                                  String methodName,
                                  String resourceBundleName,
                                  String messageKey,
                                  String traceText,
                                  Object[] inserts) throws MbException

Writes an information message to the WMQI system log. The message has the following format: BIP4360I: Java user-defined node information: [MessageSource:MessageKey] Full message with inserts resolved: traceText

logInformation

public static void logInformation(String className,
                                  String methodName,
                                  String resourceBundleName,
                                  String messageKey,
                                  String traceText,
                                  Object[] inserts) throws MbException

Writes an information message to the WMQI system log. The message has the following format: BIP4360I: Java user-defined node information: [MessageSource:MessageKey] Full message with inserts resolved: traceText

logWarning

public static void logWarning(Object source,
                              String methodName,
                              String resourceBundleName,
                              String messageKey,
                              String traceText,
                              Object[] inserts) throws MbException

Writes a warning message to the WMQI system log. The message has the following format: BIP4360W: Java user-defined node warning: [MessageSource:MessageKey] Full message with inserts resolved: traceText

logWarning

public static void logWarning(String className,
                              String methodName,
                              String resourceBundleName,
                              String messageKey,
                              String traceText,
                              Object[] inserts) throws MbException

Writes a warning message to the WMQI system log. The message has the following format: BIP4361W: Java user-defined node warning: [MessageSource:MessageKey] Full message with inserts resolved: traceText

Class Hierarchy All Classes All Fields and Methods