|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.orchestra.conversation.ConversationMessager
org.apache.myfaces.orchestra.conversation.jsf.JsfConversationMessager
public class JsfConversationMessager
Inform the user about some anomalies by displaying the problems as standard JSF messages.
This class just provides some default behaviour; if you don't like it then implement your own version of this class and configure your alternative as the standard "Conversation Messager" instead. See the documentation on interface ConversationMessager for details.
As required by the ConversationMessager interface, all methods on this class are thread-safe.
Constructor Summary | |
---|---|
JsfConversationMessager()
|
Method Summary | |
---|---|
protected java.lang.String |
getThrowableText(java.lang.Throwable t)
|
void |
setConversationException(java.lang.Throwable t)
An exception happened, for example during invalidate action. |
void |
setConversationNotActive(java.lang.String name)
Display message about a not active conversation (close before the redirect). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsfConversationMessager()
Method Detail |
---|
public void setConversationException(java.lang.Throwable t)
ConversationMessager
setConversationException
in class ConversationMessager
public void setConversationNotActive(java.lang.String name)
ConversationMessager
setConversationNotActive
in class ConversationMessager
protected java.lang.String getThrowableText(java.lang.Throwable t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |