org.apache.camel.impl.converter
Class CoreTypeConverterLoader
java.lang.Object
org.apache.camel.impl.converter.AnnotationTypeConverterLoader
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreTypeConverterLoader
public CoreTypeConverterLoader()
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