public abstract class AbstractApplicationMessage extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR |
static int |
INFO |
static int |
WARNING |
| Constructor and Description |
|---|
AbstractApplicationMessage() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getMessage() |
String |
getMessageKey() |
protected ResourceBundle |
getResourceBundle() |
int |
getType() |
boolean |
isArgsLocalized() |
protected String |
resolveMessage(String key) |
void |
setArgsLocalized(boolean argsLocalized) |
void |
setResourceBundle(ResourceBundle resourceBundle) |
void |
setType(int type) |
public static final int ERROR
public static final int WARNING
public static final int INFO
public abstract String getMessage()
public void setResourceBundle(ResourceBundle resourceBundle)
protected ResourceBundle getResourceBundle()
public int getType()
public void setType(int type)
public void setArgsLocalized(boolean argsLocalized)
public boolean isArgsLocalized()
public String getMessageKey()
Copyright © 2018 JBoss by Red Hat. All Rights Reserved.