public interface RasMessage
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUDIT |
static java.lang.String |
ERROR |
static java.lang.String |
FATAL |
static java.lang.String |
INFO
Define a set of message severities
|
static java.lang.String |
SERVICE |
static java.lang.String |
UNKNOWN |
static java.lang.String |
WARNING |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Return the message represented by this Object in the specified Locale.
|
java.lang.String |
getMessageKey()
Return the message key specified by the caller when the message was logged.
|
java.lang.String |
getMessageOriginator()
Return the name of the Object that logged this message.
|
java.lang.String |
getMessageSeverity()
Return a String indicating the severity of this message
|
java.lang.String |
getResourceBundleName()
Return the name of the ResourceBundle specified by the caller when the message was logged.
|
java.lang.String |
getThreadId()
Return the identifier of the thread that logged this message.
|
long |
getTimeStamp()
Return the raw timestamp indicating the time when the message was logged.
|
static final java.lang.String INFO
static final java.lang.String AUDIT
static final java.lang.String SERVICE
static final java.lang.String WARNING
static final java.lang.String ERROR
static final java.lang.String FATAL
static final java.lang.String UNKNOWN
long getTimeStamp()
java.lang.String getThreadId()
java.lang.String getMessageSeverity()
java.lang.String getMessageKey()
java.lang.String getResourceBundleName()
java.lang.String getMessageOriginator()
java.lang.String getLocalizedMessage(java.util.Locale locale)
locale
- the Locale to use when looking up the ResourceBundle to retrieve
the message text. Must not be null.