engine.setState(State.constructed);
return engine;
}
static ControllerSettings createSettings(Class<? extends ControllerSettings> clss, String str) {
Config config = ConfigFactory.getInstance().newConfig(new StringConfigSource(str), null);
return config.adaptSettings(null, false, clss);
}