container/usage/src/main/java/org/mobicents/slee/runtime/usage/local/UsageMBeanLocalData.java
public void setParameter(String parameterName, UsageParameter usageParameter) {
		final Map<String,UsageParamSetLocalData> notificationSourceUsageParamSets = notificationSourceUsageParamSetsMap.get(notificationSource);
		if (notificationSourceUsageParamSets != null) {
			UsageParamSetLocalData data = notificationSourceUsageParamSets.get(usageParameterSetName);
			if (data != null) {
				data.setUsageParam(parameterName, usageParameter);
			}
			else {
				throw new IllegalStateException("Usage param set not found ( notification source = "+notificationSource+" , usage param set name = "+usageParameterSetName+" ) "); 
			}
		}
		else {
			throw new IllegalStateException("Notification source usage param sets not found ( notification source = "+notificationSource+" ) "); 
		}		
	}
public void setParameter(String parameterName, UsageParameter usageParameter) {
		final Map<String,UsageParamSetLocalData> notificationSourceUsageParamSets = notificationSourceUsageParamSetsMap.get(notificationSource);
		if (notificationSourceUsageParamSets != null) {
			UsageParamSetLocalData data = notificationSourceUsageParamSets.get(usageParameterSetName);
			if (data != null) {
				data.setUsageParam(parameterName, usageParameter);
			}
			else {
				throw new IllegalStateException("Usage param set not found ( notification source = "+notificationSource+" , usage param set name = "+usageParameterSetName+" ) "); 
			}
		}
		else {
			throw new IllegalStateException("Notification source usage param sets not found ( notification source = "+notificationSource+" ) "); 
		}		
	}
public void setParameter ( String parameterName , UsageParameter usageParameter ) { final Map < String , UsageParamSetLocalData > notificationSourceUsageParamSets = notificationSourceUsageParamSetsMap . get ( notificationSource ) ; if ( notificationSourceUsageParamSets != null ) { UsageParamSetLocalData data = notificationSourceUsageParamSets . get ( usageParameterSetName ) ; if ( data != null ) { data . setUsageParam ( parameterName , usageParameter ) ; } else { throw new IllegalStateException ( "Usage param set not found ( notification source = " + notificationSource + " , usage param set name = " + usageParameterSetName + " ) " ) ; } } else { throw new IllegalStateException ( "Notification source usage param sets not found ( notification source = " + notificationSource + " ) " ) ; } }
/* (non-Javadoc)
@see org.mobicents.slee.runtime.usage.UsageMBeanData#setParameter(java.lang.String, org.mobicents.slee.runtime.usage.UsageParameter)
/ * ( non - Javadoc )