Package org.apache.camel.spring
Class ContextScanRouteBuilderFinder
- java.lang.Object
-
- org.apache.camel.spring.ContextScanRouteBuilderFinder
-
public class ContextScanRouteBuilderFinder extends Object
A helper class which will find allRouteBuilderinstances on the SpringApplicationContext.
-
-
Constructor Summary
Constructors Constructor Description ContextScanRouteBuilderFinder(SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendBuilders(List<org.apache.camel.RoutesBuilder> list)Appends all theRouteBuilderinstances that can be found in the contextprotected booleanisFilteredClass(Object bean)protected booleanshouldIgnoreBean(Object bean)
-
-
-
Constructor Detail
-
ContextScanRouteBuilderFinder
public ContextScanRouteBuilderFinder(SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons)
-
-
Method Detail
-
appendBuilders
public void appendBuilders(List<org.apache.camel.RoutesBuilder> list)
Appends all theRouteBuilderinstances that can be found in the context
-
shouldIgnoreBean
protected boolean shouldIgnoreBean(Object bean)
-
isFilteredClass
protected boolean isFilteredClass(Object bean)
-
-