* @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);