public Object getValue(EvaluationContext context) throws EvaluationException { return this.resolveExpression().getValue(context); }
@Test public void expressionUpdate() throws Exception { ReloadableResourceBundleExpressionSource source = new ReloadableResourceBundleExpressionSource(); source.setBasename(basename); source.setCacheSeconds(0); DynamicExpression expression = new DynamicExpression(key, source); assertEquals("Hello World!", expression.getValue()); writeExpressionStringToFile("toUpperCase()"); assertEquals("FOO", expression.getValue("foo")); }
public <T> T getValue(Object rootObject, Class<T> desiredResultType) throws EvaluationException { return this.resolveExpression().getValue(rootObject, desiredResultType); }
public Object getValue(Object rootObject) throws EvaluationException { return this.resolveExpression().getValue(rootObject); }
public <T> T getValue(Class<T> desiredResultType) throws EvaluationException { return this.resolveExpression().getValue(desiredResultType); }
public Object getValue(EvaluationContext context, Object rootObject) throws EvaluationException { return this.resolveExpression().getValue(context, rootObject); }
public <T> T getValue(EvaluationContext context, Class<T> desiredResultType) throws EvaluationException { return this.resolveExpression().getValue(context, desiredResultType); }
public Object getValue() throws EvaluationException { return this.resolveExpression().getValue(); }
public <T> T getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) throws EvaluationException { return this.resolveExpression().getValue(context, rootObject, desiredResultType); }
public Class<?> getValueType(EvaluationContext context) throws EvaluationException { return this.resolveExpression().getValueType(context); }
public TypeDescriptor getValueTypeDescriptor(EvaluationContext context, Object rootObject) throws EvaluationException { return this.resolveExpression().getValueTypeDescriptor(context, rootObject); }
public boolean isWritable(Object rootObject) throws EvaluationException { return this.resolveExpression().isWritable(rootObject); }
public Class<?> getValueType(EvaluationContext context, Object rootObject) throws EvaluationException { return this.resolveExpression().getValueType(context, rootObject); }
public String getExpressionString() { return this.resolveExpression().getExpressionString(); }
public Class<?> getValueType(Object rootObject) throws EvaluationException { return this.resolveExpression().getValueType(rootObject); }
public TypeDescriptor getValueTypeDescriptor() throws EvaluationException { return this.resolveExpression().getValueTypeDescriptor(); }
public boolean isWritable(EvaluationContext context, Object rootObject) throws EvaluationException { return this.resolveExpression().isWritable(context, rootObject); }
public void setValue(EvaluationContext context, Object rootObject, Object value) throws EvaluationException { this.resolveExpression().setValue(context, rootObject, value); }
public TypeDescriptor getValueTypeDescriptor(Object rootObject) throws EvaluationException { return this.resolveExpression().getValueTypeDescriptor(rootObject); }
public TypeDescriptor getValueTypeDescriptor(EvaluationContext context) throws EvaluationException { return this.resolveExpression().getValueTypeDescriptor(context); }