docs: @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;
      }