Package org.apache.camel.model.app
Class ComponentScanDefinition
java.lang.Object
org.apache.camel.model.app.ComponentScanDefinition
An equivalent of Spring's <context:component-scan>
element that can be used to populate underlying bean
registry.
With Spring application, the bean registry is provided by Spring itself, but if we want to use Camel without Spring,
we have an option to use DefaultRegistry
with underlying, supporting bean
registries
and repositories
.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBasePackage
(String basePackage) Base package to use for scanning Spring beans.
-
Constructor Details
-
ComponentScanDefinition
public ComponentScanDefinition()
-
-
Method Details
-
getBasePackage
-
setBasePackage
Base package to use for scanning Spring beans.
-