* @param apiClass The class to check.
* @throws RuntimeException Denote problems while reading/registering the converters.
*/
public static void readParameterConverterMappingsFromApiClass( Class<?> apiClass )
{
ConverterMappings mappings = AnnotationUtils.getAnnotationForClass( apiClass, ConverterMappings.class );
if (mappings == null)
return;
for( Mapping m: mappings.value() )
{
Class<?> typeToMap = m.type();
Class<? extends ParameterConverter<?,?>> converterCls = m.converter();
setParameterConverterForClass( typeToMap, converterCls );