class ActivitiExpressionManager extends ExpressionManager implements ApplicationContextAware {

	public String evaluate(String expression){
		if(!expression.startsWith("${")){
			StringBuilder modifiedExpression = new StringBuilder();
			expression = expression.replaceAll("'", "\\\\'");
			modifiedExpression.append("${expressionEvaluator.getValue('").append(expression).append("', processContext.param)").append("}");
			return modifiedExpression.toString();
		}
		return expression;
	}

}