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 Details

    • resolveDefaultFactoryFinder

      default FactoryFinder resolveDefaultFactoryFinder(ClassResolver classResolver)
      Creates a new default factory finder using a default resource path.
      Parameters:
      classResolver - the class resolver to use
      Returns:
      a factory finder.
    • resolveBootstrapFactoryFinder

      default FactoryFinder resolveBootstrapFactoryFinder(ClassResolver classResolver)
      Creates a new bootstrap factory finder using a default resource path.
      Parameters:
      classResolver - the class resolver to use
      Returns:
      a factory finder.
    • resolveFactoryFinder

      FactoryFinder resolveFactoryFinder(ClassResolver classResolver, String resourcePath)
      Creates a new factory finder.
      Parameters:
      classResolver - the class resolver to use
      resourcePath - the resource path as base to lookup files within
      Returns:
      a factory finder.
    • resolveBootstrapFactoryFinder

      FactoryFinder resolveBootstrapFactoryFinder(ClassResolver classResolver, String resourcePath)
      Creates a new factory finder.
      Parameters:
      classResolver - the class resolver to use
      resourcePath - the resource path as base to lookup files within
      Returns:
      a factory finder.