|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.DefaultSystemMessagesProvider
public class DefaultSystemMessagesProvider
System messages provider using the built-in default system messages. This
singleton is accessed using get()
.
Method Summary | |
---|---|
static SystemMessagesProvider |
get()
Gets the instance. |
SystemMessages |
getSystemMessages(SystemMessagesInfo systemMessagesInfo)
Gets the system messages to use in the given context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SystemMessages getSystemMessages(SystemMessagesInfo systemMessagesInfo)
SystemMessagesProvider
SystemMessagesInfo
object contains available information but in
most cases some or both of VaadinSession.getCurrent()
and
UI.getCurrent()
can also be used to find more information to help
the decision.
getSystemMessages
in interface SystemMessagesProvider
systemMessagesInfo
- Locale, current request and other information available.
public static SystemMessagesProvider get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |