Package org.exoplatform.groovyscript

Examples of org.exoplatform.groovyscript.GroovyTemplateEngine


   private FutureCache<ResourceKey, GroovyTemplate, ResourceResolver> futureCache;

   public TemplateService(TemplateStatisticService statisticService, CacheService cservice) throws Exception
   {
      this.engine_ = new GroovyTemplateEngine();
      this.statisticService = statisticService;
      this.templatesCache_ = cservice.getCacheInstance(TemplateService.class.getSimpleName());
      this.futureCache = new FutureExoCache<ResourceKey, GroovyTemplate, ResourceResolver>(loader, templatesCache_);
   }
View Full Code Here


    /** . */
    private final Logger log = LoggerFactory.getLogger(TemplateService.class);

    public TemplateService(TemplateStatisticService statisticService, CacheService cservice) throws Exception {
        this.engine_ = new GroovyTemplateEngine();
        this.statisticService = statisticService;
        this.templatesCache_ = cservice.getCacheInstance(TemplateService.class.getSimpleName());
        this.futureCache = new FutureExoCache<ResourceKey, GroovyTemplate, ResourceResolver>(loader, templatesCache_);
    }
View Full Code Here

   private boolean cacheTemplate_ = true;

   public TemplateService(TemplateStatisticService statisticService, CacheService cservice) throws Exception
   {
      this.engine_ = new GroovyTemplateEngine();
      this.statisticService = statisticService;
      this.templatesCache_ = cservice.getCacheInstance(TemplateService.class.getSimpleName());
   }
View Full Code Here

    /** . */
    private final Logger log = LoggerFactory.getLogger(TemplateService.class);

    public TemplateService(TemplateStatisticService statisticService, CacheService cservice) throws Exception {
        this.engine_ = new GroovyTemplateEngine();
        this.statisticService = statisticService;
        this.templatesCache_ = cservice.getCacheInstance(TemplateService.class.getSimpleName());
        this.futureCache = new FutureExoCache<ResourceKey, GroovyTemplate, ResourceResolver>(loader, templatesCache_);
    }
View Full Code Here

TOP

Related Classes of org.exoplatform.groovyscript.GroovyTemplateEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.