String name = entry.getKey().getLocalPart();
properties.put(name, entry.getValue());
}
ObjectRecipe recipe = new ObjectRecipe(className, properties);
recipe.allow(Option.IGNORE_MISSING_PROPERTIES);
Engine engine = (Engine) recipe.create(cl);
// Class<? extends Engine> engineClass = cl.loadClass(className).asSubclass(Engine.class);
// Engine engine = engineClass.newInstance();
// engine.setName(name);
// engine.setDefaultHost(defaultHost);
// engine.setJvmRoute(jvmRoute);