Package org.springmodules.template.engine.velocity.extended

Examples of org.springmodules.template.engine.velocity.extended.ExtendedResourceManager


        return new VelocityTemplate(resource, encoding, engine);
    }

    public void afterPropertiesSet() throws Exception {
        SpringResourceLoaderResourceLoader loader = new SpringResourceLoaderResourceLoader(resourceLoader);
        ExtendedResourceManager resourceManager = new ExtendedResourceManager(loader);
        engine = new ExtendedVelocityEngine(resourceManager);
        if (configuration != null) {
            engine.init(configuration);
        } else {
            engine.init();
View Full Code Here


        return new SpecialVelocityTemplate(template, resource.getDescription());
    }

    public void afterPropertiesSet() throws Exception {
        SpringResourceLoaderResourceLoader loader = new SpringResourceLoaderResourceLoader(resourceLoader);
        ExtendedResourceManager resourceManager = new ExtendedResourceManager(loader);
        engine = new ExtendedVelocityEngine(resourceManager);
        if (configuration != null) {
            engine.init(configuration);
        } else {
            engine.init();
View Full Code Here

TOP

Related Classes of org.springmodules.template.engine.velocity.extended.ExtendedResourceManager

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.