Class PackageScanHelper

java.lang.Object
org.apache.camel.support.scan.PackageScanHelper

public class PackageScanHelper extends Object
Helper for Camel package scanning.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    registerBeans(org.apache.camel.CamelContext camelContext, Set<String> packages)
    Scans the given Java packages for custom beans annotated with BindToRegistry and create new instances of these class and performs Camel dependency injection via CamelBeanPostProcessor.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • registerBeans

      public static void registerBeans(org.apache.camel.CamelContext camelContext, Set<String> packages)
      Scans the given Java packages for custom beans annotated with BindToRegistry and create new instances of these class and performs Camel dependency injection via CamelBeanPostProcessor.
      Parameters:
      camelContext - the camel context
      packages - the Java packages to scan