String type = config.getServiceType();
IServiceTypeManager mgr = serviceManagerMap.get( type );
if ( mgr == null ) {
String availableTypes =
StringUtils.join( serviceManagerMap.keySet().iterator(), Messages.getInstance().getString( "," ) ); //$NON-NLS-1$
throw new ServiceException(
Messages
.getInstance()
.getErrorString(
"DefaultServiceManager.ERROR_0002_NO_SERVICE_MANAGER_FOR_TYPE", config.getId(), type.toString(),
availableTypes ) ); //$NON-NLS-1$