Package de.dfki.util.xmlrpc.annotation

Examples of de.dfki.util.xmlrpc.annotation.ConverterMappings


     * @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 );
View Full Code Here

TOP

Related Classes of de.dfki.util.xmlrpc.annotation.ConverterMappings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.