Interface FactoryFinderResolver
public interface FactoryFinderResolver
Factory for creating and caching
FactoryFinder instances, each scoped to a specific resource-path prefix on
the classpath.
The CamelContext holds one FactoryFinderResolver and uses it to obtain finders for
the standard FactoryFinder.DEFAULT_PATH as well as for bootstrap-phase lookups that must complete before the
context is fully started. Separating bootstrap and runtime finders allows implementations to apply different caching
or isolation strategies during the two lifecycle phases.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault FactoryFinderresolveBootstrapFactoryFinder(ClassResolver classResolver) Creates a new bootstrap factory finder using a default resource path.resolveBootstrapFactoryFinder(ClassResolver classResolver, String resourcePath) Creates a new factory finder.default FactoryFinderresolveDefaultFactoryFinder(ClassResolver classResolver) Creates a new default factory finder using a default resource path.resolveFactoryFinder(ClassResolver classResolver, String resourcePath) Creates a new factory finder.
-
Method Details
-
resolveDefaultFactoryFinder
Creates a new default factory finder using a default resource path.- Parameters:
classResolver- the class resolver to use- Returns:
- a factory finder.
-
resolveBootstrapFactoryFinder
Creates a new bootstrap factory finder using a default resource path.- Parameters:
classResolver- the class resolver to use- Returns:
- a factory finder.
-
resolveFactoryFinder
Creates a new factory finder.- Parameters:
classResolver- the class resolver to useresourcePath- the resource path as base to lookup files within- Returns:
- a factory finder.
-
resolveBootstrapFactoryFinder
Creates a new factory finder.- Parameters:
classResolver- the class resolver to useresourcePath- the resource path as base to lookup files within- Returns:
- a factory finder.
-