List<LegacyModelInitializerEntry> modelInitializerEntries) throws Exception {
TestModelType type = TestModelType.DOMAIN;
XMLMapper xmlMapper = XMLMapper.Factory.create();
TestParser testParser = TestParser.create(null, xmlMapper, type);
ModelInitializer modelInitializer = null;
if (modelInitializerEntries != null && modelInitializerEntries.size() > 0) {
modelInitializer = new LegacyModelInitializer(modelInitializerEntries);
}
RunningModeControl runningModeControl = new HostRunningModeControl(RunningMode.ADMIN_ONLY, RestartMode.HC_ONLY);