Class TypeConvertersLoader

  • All Implemented Interfaces:
    org.apache.camel.spi.TypeConverterLoader

    public class TypeConvertersLoader
    extends AnnotationTypeConverterLoader
    A type converter loader, that only supports scanning a TypeConverters class for methods that has been annotated with Converter.
    • Constructor Detail

      • TypeConvertersLoader

        public TypeConvertersLoader​(Object typeConverters)
        Creates the loader
        Parameters:
        typeConverters - The implementation that has the type converters
      • TypeConvertersLoader

        public TypeConvertersLoader​(Class<?> clazz)
        Creates the loader
        Parameters:
        clazz - the class with the @Converter annotation and converter methods