Class TypeConvertersLoader

java.lang.Object
org.apache.camel.impl.converter.AnnotationTypeConverterLoader
org.apache.camel.impl.converter.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 Details

    • 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
  • Method Details