modelService.unloadModels();
for (String modelString : models) {
SecurityModel model = securityContainerFactory.getSecurityContainer(modelString).getModel();
try {
putModel(model, modelString);
applicationContext.publishEvent(new DeployedModelEvent(model.getId()));
logger.info("The model {} has been loaded", model.getId()); //$NON-NLS-1$
} catch (ModelChangeException e) {
logger.warn("Can't load the model {}: {}", model.getId(), e.getLocalizedMessage()); //$NON-NLS-1$
}
}