Invoker.execute(consumer, this.expressionContext, new ExecutionContext(this.definitions, this.scriptManager,
this.manager), null, startEvent, null);
}
public Serializable getKey() {
JXTExpression cacheKeyExpr = (JXTExpression) this.startDocument
.getTemplateProperty(JXTemplateGenerator.CACHE_KEY);
if (cacheKeyExpr == null)
return null;
try {
final Serializable templateKey = (Serializable) cacheKeyExpr.getValue(this.expressionContext);
if (templateKey != null) {
return new JXCacheKey(this.startDocument.getUri(), templateKey);
}
} catch (Exception e) {
getLogger().error("error evaluating cache key", e);