if ( factoryName == null )
{
eMsg = "GroupService.initialize(): No entry for org.jasig.portal.groups.GroupServiceFactory in portal.properties.";
log.error( eMsg);
throw new GroupsException(eMsg);
}
try
{
IGroupServiceFactory groupServiceFactory =
(IGroupServiceFactory)Class.forName(factoryName).newInstance();
groupService = groupServiceFactory.newGroupService();
}
catch (Exception e)
{
eMsg = "GroupService.initialize(): Problem creating groups service...";
log.error( eMsg, e);
throw new GroupsException(eMsg, e);
}
}