...
PackageScanClassResolver
ClassResolver
FactoryFinderResolver
FactoryFinder
In camel-osgi we provide OSGi aware class resolver allowing Camel to run in any OSGi container.
...
In the sample above the CamelContext will automatic detect the jbossresolver
bean and use it instead of its default one.
FactoryFinder
FactoryFinderResolver
FactoryFinderResolver is used to get an instance of FactoryFinder
that FactoryFinder is used to for lookup of resource files in the classpath in the META-INF/services
. It is used internally by Camel to look in .jars for Camel components. For instance to look for the file
component Camel will use the FactoryFinder
to look the the file named file
in META-INF/services/org/apache/camel/component
. The CamelContext
have methods to inject a custom FactoryFinderResolver
.
...