com.itmusings.stm.ognl
Class OgnlScriptingStrategy

java.lang.Object
  extended by com.itmusings.stm.action.ScriptingStrategyBase
      extended by com.itmusings.stm.ognl.OgnlScriptingStrategy
All Implemented Interfaces:
ScriptingStrategy

public class OgnlScriptingStrategy
extends ScriptingStrategyBase

Author:
raja Ognl wrapper for using OGNL in scripting.

initializes Ognl accessors


Constructor Summary
OgnlScriptingStrategy()
           
 
Method Summary
protected  java.lang.Object getValue(java.lang.Object parsedScript, java.lang.Object context)
           
protected  java.lang.Object parseExpression(java.lang.String code)
           
 
Methods inherited from class com.itmusings.stm.action.ScriptingStrategyBase
executeBooleanExpression, executeGenericScript, init, parseIt, sanitizeExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OgnlScriptingStrategy

public OgnlScriptingStrategy()
Method Detail

getValue

protected java.lang.Object getValue(java.lang.Object parsedScript,
                                    java.lang.Object context)
                             throws java.lang.Exception
Specified by:
getValue in class ScriptingStrategyBase
Throws:
java.lang.Exception

parseExpression

protected java.lang.Object parseExpression(java.lang.String code)
                                    throws java.lang.Exception
Specified by:
parseExpression in class ScriptingStrategyBase
Throws:
java.lang.Exception


Copyright © 2011 ITMUSINGS. All Rights Reserved.