Package no.kommune.bergen.soa.common.util

Examples of no.kommune.bergen.soa.common.util.VelocityTemplateEngine


  private TemplateEngine getTemplateEngine() {
    System.setProperty( "CONSTRETTO_TAGS", "DEV" );
    ApplicationContext context = new ClassPathXmlApplicationContext( "applicationContext.xml" );
    VelocityEngine velocityEngine = (VelocityEngine)context.getBean( "velocityEngineFactoryBean" );
    VelocityTemplateEngine velocityTemplateEngine = new VelocityTemplateEngine();
    velocityTemplateEngine.setVelocityEngine( velocityEngine );
    return velocityTemplateEngine;
  }
View Full Code Here


    AltinnAuthorization altinnAuthorization = new AltinnAuthorization(authorizationSettings);
    return new AltinnFacade(templateEngine, correspondenceClient, altinnAuthorization, velocityModelFactory);
  }

  private VelocityTemplateEngine createTemplateEngine() {
    VelocityTemplateEngine velocityTemplateEngine = new VelocityTemplateEngine();
    velocityTemplateEngine.setVelocityEngine(velocityEngine);
    return velocityTemplateEngine;
  }
View Full Code Here

TOP

Related Classes of no.kommune.bergen.soa.common.util.VelocityTemplateEngine

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.