|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageBean
Message provider. The message provider may be attached to infrastructure to access message templates and to construct messages.
Method Summary | |
---|---|
Throwable |
getCause() Returns the cause to the exception. |
CauseTrailMessages |
getCauseTrail() Returns the cause trail of messages. |
CauseTrailMessages |
getCauseTrail(Locale locale) Returns the cause trail of messages. |
Code |
getCode() Returns the code the message bean provides messages for. |
LocalizedInfo |
getLocalizedInfo() Returns the localized information that provides access to messages. |
String |
getMessage(Locale locale, MessageType messageType) Returns the message for the given type. |
Messages |
getMessages(Locale locale) Returns the messages for the given locale. |
Method Detail |
---|
Code getCode()
LocalizedInfo getLocalizedInfo()
String getMessage(Locale locale, MessageType messageType)
locale
- the locale to use.
messageType
- the type of message to retrieve.
null
if there is no message for the given type.
Messages getMessages(Locale locale)
locale
- the locale to use.
CauseTrailMessages getCauseTrail()
CauseTrailMessages getCauseTrail(Locale locale)
locale
- the locale to use.
Throwable getCause()
null
.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |