|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.client.ClientI18NFactory
public class ClientI18NFactory
Convienence utility that creates I18N loggers and messages for the client.
| Constructor Summary | |
|---|---|
ClientI18NFactory()
|
|
| Method Summary | |
|---|---|
static mazz.i18n.Logger |
getLogger(Class clazz)
Creates the logger and uses the LoggerLocale. |
static mazz.i18n.Msg |
getMsg()
Creates a Msg that uses the agent's messages resource bundle and the VM's default locale. |
static mazz.i18n.Msg |
getMsgWithLoggerLocale()
Creates a Msg that uses the agent's message resource bundle and LoggerLocale, which is used by
the loggers created by this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientI18NFactory()
| Method Detail |
|---|
public static mazz.i18n.Logger getLogger(Class clazz)
LoggerLocale.
clazz - the class that owns the logger - identifies the resource bundle
public static mazz.i18n.Msg getMsg()
Msg that uses the agent's messages resource bundle and the VM's default locale.
public static mazz.i18n.Msg getMsgWithLoggerLocale()
Msg that uses the agent's message resource bundle and LoggerLocale, which is used by
the loggers created by this class. This is useful if you want to set messages in
exceptions that are simply to be logged and not necessarily be bubbled up to a user interface.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||