providerServices.update(resourceConfig.getProviderClasses(),
resourceConfig.getProviderSingletons(), injectableFactory);
}
// Obtain all the templates
this.templateContext = new TemplateFactory(providerServices);
// Allow injection of template context
injectableFactory.add(new ContextInjectableProvider<TemplateContext>(
TemplateContext.class, templateContext));
// Obtain all context resolvers