Examples of ConverterMappings


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
Copyright © 2018 www.massapi.com. 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.