Package webit.script.util

Examples of webit.script.util.Petite


     * @return
     * @since 1.5.0
     */
    public static Engine create(final Props props, final Map<String, Object> parameters) {

        final Petite petite = new Petite();
        petite.set(props, parameters);

        final Engine engine = new Engine(petite);
        petite.wireBean(engine);

        engine.init();
        if (engine.getLogger().isInfoEnabled()) {
            engine.getLogger().info("Loaded props: {}", petite.get(CFG.WIM_FILE_LIST));
        }
        try {
            engine.executeInitTemplates();
        } catch (ResourceNotFoundException ex) {
            throw new RuntimeException(ex);
View Full Code Here

TOP

Related Classes of webit.script.util.Petite

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.