code: @Singleton
      public TemplateEngine templateEngine(ITemplateResolver templateResolver,
              IEngineContextFactory engineContextFactory, ILinkBuilder linkBuilder) {
          TemplateEngine engine = new TemplateEngine();
          engine.setEngineContextFactory(engineContextFactory);
          engine.setLinkBuilder(linkBuilder);
          engine.setTemplateResolver(templateResolver);
          return engine;
      }
docs: Constructs the template engine.
  
  @param templateResolver The template resolver
  @param engineContextFactory The engine context factory
  @param linkBuilder The link builder
  @return The template engine