public class SessionMessages extends Object
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
static String |
ERROR_MESSAGES_KEY |
static String |
INFO_MESSAGES_KEY |
static org.slf4j.Logger |
logger |
static String |
WARNING_MESSAGES_KEY |
Constructor and Description |
---|
SessionMessages() |
Modifier and Type | Method and Description |
---|---|
static void |
addErrorMessage(String msg) |
static void |
addErrorMessage(XhtmlFragment xml) |
static void |
addInfoMessage(String msg) |
static void |
addInfoMessage(XhtmlFragment xml) |
static void |
addWarningMessage(String msg) |
static void |
addWarningMessage(XhtmlFragment xml) |
static List<String> |
consumeErrorMessages() |
static List<String> |
consumeInfoMessages() |
static List<String> |
consumeWarningMessages() |
static BlockingQueue<String> |
getErrorQueue() |
static BlockingQueue<String> |
getInfoQueue() |
protected static BlockingQueue<String> |
getQueue(String queueName) |
static BlockingQueue<String> |
getWarningQueue() |
public static final String copyright
public static final String INFO_MESSAGES_KEY
public static final String WARNING_MESSAGES_KEY
public static final String ERROR_MESSAGES_KEY
public static final org.slf4j.Logger logger
public static void addInfoMessage(String msg)
public static void addInfoMessage(XhtmlFragment xml)
public static void addWarningMessage(String msg)
public static void addWarningMessage(XhtmlFragment xml)
public static void addErrorMessage(String msg)
public static void addErrorMessage(XhtmlFragment xml)
public static BlockingQueue<String> getInfoQueue()
public static BlockingQueue<String> getWarningQueue()
public static BlockingQueue<String> getErrorQueue()
protected static BlockingQueue<String> getQueue(String queueName)