|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.sasl.aop.monitoring.execution.time.MessageBean
public class MessageBean
Bean class that represents a simple message that can have a subject and a message text.
Constructor Summary | |
---|---|
MessageBean()
|
Method Summary | |
---|---|
String |
getMessage()
Returns the message text of the message. |
String |
getSubject()
Returns the subject of the message. |
void |
setMessage(String message)
Sets the message text of the message. |
void |
setMessageFromResource(String location)
Sets the message text of the message from a resource. |
void |
setSubject(String subject)
Sets the subject of the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageBean()
Method Detail |
---|
public String getSubject()
public void setSubject(String subject)
subject
- null or non null.public String getMessage()
public void setMessage(String message)
message
- null or non null.public void setMessageFromResource(String location) throws IllegalArgumentException, IOException
location
- non null.
IllegalArgumentException
- if location is null.
IOException
- if any io exception occurs during trying to read the
resource.net.sf.sasl.aop.common.io.ResourceReader#readStringResource(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |