protected TemplatesRegistry createRegistry(IBundleLoader... loaders) {
return new TemplatesRegistry(this, loaders);
}
public String executeTemplate(String name, EvaluationContext context, Object[] arguments, ILocatedEntity referer) {
ITemplate t = (ITemplate) getEvaluationStrategy().loadEntity(name, IBundleEntity.KIND_TEMPLATE, referer);
return getEvaluationStrategy().evaluate(t, context, arguments, referer);
}