org.apache.camel.impl.converter
Class CoreTypeConverterLoader

java.lang.Object
  extended by org.apache.camel.impl.converter.AnnotationTypeConverterLoader
      extended by org.apache.camel.impl.converter.CoreTypeConverterLoader
All Implemented Interfaces:
TypeConverterLoader

public class CoreTypeConverterLoader
extends AnnotationTypeConverterLoader

Will load all type converters from camel-core without classpath scanning, which makes it much faster.

The CorePackageScanClassResolver contains a hardcoded list of the type converter classes to load.


Field Summary
 
Fields inherited from class org.apache.camel.impl.converter.AnnotationTypeConverterLoader
META_INF_SERVICES, resolver, visitedClasses, visitedURIs
 
Constructor Summary
CoreTypeConverterLoader()
           
 
Method Summary
protected  String[] findPackageNames()
          Finds the names of the packages to search for on the classpath looking for text files on the classpath at the AnnotationTypeConverterLoader.META_INF_SERVICES location.
 
Methods inherited from class org.apache.camel.impl.converter.AnnotationTypeConverterLoader
filterPackageNamesOnly, filterUnwantedPackage, findPackages, isValidConverterMethod, isValidFallbackConverterMethod, load, loadConverterMethods, registerFallbackTypeConverter, registerTypeConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreTypeConverterLoader

public CoreTypeConverterLoader()
Method Detail

findPackageNames

protected String[] findPackageNames()
                             throws IOException
Description copied from class: AnnotationTypeConverterLoader
Finds the names of the packages to search for on the classpath looking for text files on the classpath at the AnnotationTypeConverterLoader.META_INF_SERVICES location.

Overrides:
findPackageNames in class AnnotationTypeConverterLoader
Returns:
a collection of packages to search for
Throws:
IOException - is thrown for IO related errors


Apache CAMEL