Package org.apache.camel.support.scan
Class PackageScanHelper
java.lang.Object
org.apache.camel.support.scan.PackageScanHelper
Helper for Camel package scanning.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerBeans
(org.apache.camel.CamelContext camelContext, Set<String> packages) Scans the given Java packages for custom beans annotated withBindToRegistry
and create new instances of these class and performs Camel dependency injection viaCamelBeanPostProcessor
.
-
Method Details
-
registerBeans
Scans the given Java packages for custom beans annotated withBindToRegistry
and create new instances of these class and performs Camel dependency injection viaCamelBeanPostProcessor
.- Parameters:
camelContext
- the camel contextpackages
- the Java packages to scan
-