|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TransportLogger
A TransportLogger is supplied to transport operations so that
messages, with varying severity, can be communicated to the transporting
entity.
| Field Summary | |
|---|---|
static int |
SEVERITY_ERROR
Severity level indicating a non recoverable error. |
static int |
SEVERITY_INFO
Severity level used for informational purposes only. |
static int |
SEVERITY_WARNING
Severity level indicating a recoverable error. |
| Method Summary | |
|---|---|
void |
addMessage(int severity,
java.lang.String context,
java.lang.String bundle,
java.lang.String messageKey)
Adds a message to this TransportLogger with the supplied
severity and context. |
void |
addMessage(int severity,
java.lang.String context,
java.lang.String bundle,
java.lang.String messageKey,
java.lang.Object[] messageArgs)
Adds a message to this TransportLogger with the supplied
severity and context. |
| Field Detail |
|---|
static final int SEVERITY_INFO
static final int SEVERITY_WARNING
static final int SEVERITY_ERROR
| Method Detail |
|---|
void addMessage(int severity,
java.lang.String context,
java.lang.String bundle,
java.lang.String messageKey)
TransportLogger with the supplied
severity and context. The message string is looked up in the appropriate
locale from a java.util.ResourceBundle with the supplied
name using the supplied key. If any exception occurs while retrieving
the bundle, or if the bundle name is null, the key will
be logged as the message.
severity - one of SEVERITY_INFO, SEVERITY_WARNING
or SEVERITY_ERROR.context - extra context information.bundle - the name of a java.util.ResourceBundle from
which to look up message strings.messageKey - the key by which message strings are looked up in the
resource bundle.
void addMessage(int severity,
java.lang.String context,
java.lang.String bundle,
java.lang.String messageKey,
java.lang.Object[] messageArgs)
TransportLogger with the supplied
severity and context. The message string is looked up in the appropriate
locale from a java.util.ResourceBundle with the supplied
name using the supplied key and formatted using the supplied arguments.
If any exception occurs while retrieving the bundle, or if the bundle
name is null, the key will be logged as the message.
severity - one of SEVERITY_INFO, SEVERITY_WARNING
or SEVERITY_ERROR.context - extra context information.bundle - the name of a java.util.ResourceBundle from
which to look up message strings.messageKey - the key by which message strings are looked up in the
resource bundle.messageArgs - arguments to decorate the localized message.
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||