Package org.apache.camel.spring.xml
Class ContextScanRouteBuilderFinder
- java.lang.Object
-
- org.apache.camel.spring.xml.ContextScanRouteBuilderFinder
-
public class ContextScanRouteBuilderFinder extends Object
A helper class which will find allRouteBuilder
instances on the SpringApplicationContext
.
-
-
Constructor Summary
Constructors Constructor Description ContextScanRouteBuilderFinder(org.apache.camel.spring.SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
ContextScanRouteBuilderFinder
public ContextScanRouteBuilderFinder(org.apache.camel.spring.SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons)
-
-
Method Detail
-
appendBuilders
public void appendBuilders(List<org.apache.camel.RoutesBuilder> list)
Appends all theRouteBuilder
instances that can be found in the context
-
shouldIgnoreBean
protected boolean shouldIgnoreBean(Object bean)
Whether or not to ignore the bean- Parameters:
bean
- the bean to be checked if should be ignored or not- Returns:
-
isFilteredClass
protected boolean isFilteredClass(Object bean)
-
-