Package com.jpoweredcart.common.system.template

Examples of com.jpoweredcart.common.system.template.SpringWebTemplateService


  @Bean
  public TemplateService templateService(){
    if(applicationContext.containsBean("custom_templateService")){
      return (TemplateService)applicationContext.getBean("custom_templateService");
    }
    SpringWebTemplateService templateService = new SpringWebTemplateService();
    ViewResolver viewResolver = applicationContext.getBean("viewResolver", ViewResolver.class);
    templateService.setViewResolver(viewResolver);
    return templateService;
  }
View Full Code Here

TOP

Related Classes of com.jpoweredcart.common.system.template.SpringWebTemplateService

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.