net.sf.sasl.aop.monitoring.execution.time
Class PlaceholderScriptMessage

java.lang.Object
  extended by net.sf.sasl.aop.monitoring.execution.time.PlaceholderScriptMessage

public class PlaceholderScriptMessage
extends Object

Converts a MessageBean into a message placeholder script.

Since:
0.0.1 (sasl-common-aspect-library)
Author:
Philipp Förmer

Constructor Summary
PlaceholderScriptMessage(MessageBean messageBean)
           
 
Method Summary
 ScriptNode getMessage()
          Returns the message text of the message as a placeholder script.
 ScriptNode getSubject()
          Returns the subject of the message as a placeholder script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceholderScriptMessage

public PlaceholderScriptMessage(MessageBean messageBean)
                         throws IllegalArgumentException,
                                ParseException
Parameters:
messageBean - non null
Throws:
IllegalArgumentException - if messageBean is null.
ParseException - if a parse exception occurs during trying to parse the subject and message text.
Since:
0.0.1 (sasl-common-aspect-library)
Method Detail

getSubject

public ScriptNode getSubject()
Returns the subject of the message as a placeholder script.

Returns:
non null
Since:
0.0.1 (sasl-common-aspect-library)

getMessage

public ScriptNode getMessage()
Returns the message text of the message as a placeholder script.

Returns:
non null
Since:
0.0.1 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.