private ApplicationContext applicationContext;
@Override
public IUmiUserManager createManager(final ISettings settings) throws UmiException {
assert settings != null;
final IPropertyGroup group = settings.getPropertyGroups().get(GROUP_NAME);
if (group == null) {
throw new UmiException("Can''t find property {0} in group {1}.", PROPERTY, GROUP_NAME); //$NON-NLS-1$
}
final String beanId = group.getPropertyValue(PROPERTY);
final IUmiUserManager manager = singleUserManagers.get(beanId);
if (manager == null) {
throw new UmiException("User manager with id {0} doesn''t exists. Check the Spring beans definitions if bean with such id exists", beanId); //$NON-NLS-1$
}
return manager;