/** @return java.lang.String */ private String getDefaultServiceName() throws GroupsException { return (String) getServiceConfiguration().getAttributes().get("defaultService"); } /**
/** @return java.lang.String */ private String getDefaultServiceName() throws GroupsException { return (String) getServiceConfiguration().getAttributes().get("defaultService"); } /**
/** @exception GroupsException */ private void initializeCompositeService() throws GroupsException { String eMsg = null; try { GroupServiceConfiguration cfg = getServiceConfiguration(); String factoryName = (String) cfg.getAttributes().get("compositeFactory"); if (factoryName == null) { eMsg = "GroupService.initialize(): No entry for CompositeServiceFactory in configuration"; LOGGER.error(eMsg); throw new GroupsException(eMsg); } ICompositeGroupServiceFactory serviceFactory = (ICompositeGroupServiceFactory) Class.forName(factoryName).newInstance(); compositeGroupService = serviceFactory.newGroupService(); } catch (Exception e) { eMsg = "GroupService.initialize(): Problem creating groups service... " + e.getMessage(); LOGGER.error(eMsg, e); throw new GroupsException(eMsg, e); } }
/** @exception GroupsException */ private void initializeCompositeService() throws GroupsException { String eMsg = null; try { GroupServiceConfiguration cfg = getServiceConfiguration(); String factoryName = (String) cfg.getAttributes().get("compositeFactory"); if (factoryName == null) { eMsg = "GroupService.initialize(): No entry for CompositeServiceFactory in configuration"; LOGGER.error(eMsg); throw new GroupsException(eMsg); } ICompositeGroupServiceFactory serviceFactory = (ICompositeGroupServiceFactory) Class.forName(factoryName).newInstance(); compositeGroupService = serviceFactory.newGroupService(); } catch (Exception e) { eMsg = "GroupService.initialize(): Problem creating groups service... " + e.getMessage(); LOGGER.error(eMsg, e); throw new GroupsException(eMsg, e); } }