|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.orchestra.conversation.ConversationMessager
public abstract class ConversationMessager
Methods required to inform the user about some anomalies.
These problems can be due either to incorrect webapp development (incorrect use of Orchestra tags) or by something like a session timing out. In any case, when these problems happen they affect the user so need to be reported to the user in some way. However different apps may want to report problems in different ways; the concrete ConversationMessager object used is therefore configurable.
All methods on this class must be implemented in a thread-safe manner.
The instance used by Orchestra is controlled by the FrameworkAdapter. See
FrameworkAdapter
for details.
Constructor Summary | |
---|---|
ConversationMessager()
|
Method Summary | |
---|---|
void |
setConversationException(Throwable t)
An exception happened, for example during invalidate action. |
void |
setConversationNotActive(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 ConversationMessager()
Method Detail |
---|
public void setConversationException(Throwable t)
public void setConversationNotActive(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |