Package org.exoplatform.resolver

Examples of org.exoplatform.resolver.ResourceResolver


    @Impact(ImpactType.IDEMPOTENT_WRITE)
    public void reloadTemplate(@ManagedDescription("The template id") @ManagedName("templateId") String name) {
        try {
            TemplateStatistic app = statisticService.apps.get(name);
            if (app != null) {
                ResourceResolver resolver = app.getResolver();
                templatesCache_.remove(resolver.createResourceKey(name));
            }
        } catch (Exception e) {
            log.error(e.getMessage(), e);
        }
    }
View Full Code Here


   public void reloadTemplate(@ManagedDescription("The template id") @ManagedName("templateId") String name)
   {
      try
      {
         TemplateStatistic app = statisticService.apps.get(name);
         ResourceResolver resolver = app.getResolver();
         templatesCache_.remove(resolver.createResourceId(name));
      }
      catch (Exception e)
      {
         e.printStackTrace();
      }
View Full Code Here

    @ManagedDescription("Clear the template cache for a specified template identifier")
    @Impact(ImpactType.IDEMPOTENT_WRITE)
    public void reloadTemplate(@ManagedDescription("The template id") @ManagedName("templateId") String name) {
        TemplateStatistic app = statisticService.findTemplateStatistic(name);
        if (app != null) {
            ResourceResolver resolver = app.getResolver();
            templatesCache_.remove(resolver.createResourceKey(name));
        }
    }
View Full Code Here

TOP

Related Classes of org.exoplatform.resolver.ResourceResolver

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.