Package org.apache.camel.spring.xml
Class ContextScanRouteBuilderFinder
java.lang.Object
org.apache.camel.spring.xml.ContextScanRouteBuilderFinder
A helper class which will find all
RouteBuilder
instances on the Spring
ApplicationContext
.-
Constructor Summary
ConstructorDescriptionContextScanRouteBuilderFinder
(org.apache.camel.spring.SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendBuilders
(List<org.apache.camel.RoutesBuilder> list) Appends all theRouteBuilder
instances that can be found in the contextprotected boolean
isFilteredClass
(Object bean) protected boolean
shouldIgnoreBean
(Object bean) Whether or not to ignore the bean
-
Constructor Details
-
ContextScanRouteBuilderFinder
public ContextScanRouteBuilderFinder(org.apache.camel.spring.SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons)
-
-
Method Details
-
appendBuilders
Appends all theRouteBuilder
instances that can be found in the context -
shouldIgnoreBean
Whether or not to ignore the bean- Parameters:
bean
- the bean to be checked if should be ignored or not- Returns:
-
isFilteredClass
-