public String resolve(String value) throws ProcessingException {
VariableResolver resolver = null;
try {
resolver = this.variableFactory.lookup( value );
return resolver.resolve();
} catch (PatternException e) {
throw new ProcessingException("Error parsing pattern: " + value, e);
} finally {
this.variableFactory.release(resolver);
}