org.apache.camel.spring
Class ContextScanRouteBuilderFinder

java.lang.Object
  extended by org.apache.camel.spring.ContextScanRouteBuilderFinder

public class ContextScanRouteBuilderFinder
extends Object

A helper class which will find all RouteBuilder instances on the Spring ApplicationContext.

Version:

Constructor Summary
ContextScanRouteBuilderFinder(SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter)
           
 
Method Summary
 void appendBuilders(List<org.apache.camel.RoutesBuilder> list)
          Appends all the RouteBuilder instances that can be found in the context
protected  boolean isFilteredClass(Object bean)
           
protected  boolean shouldIgnoreBean(Object bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextScanRouteBuilderFinder

public ContextScanRouteBuilderFinder(SpringCamelContext camelContext,
                                     org.apache.camel.spi.PackageScanFilter filter)
Method Detail

appendBuilders

public void appendBuilders(List<org.apache.camel.RoutesBuilder> list)
Appends all the RouteBuilder instances that can be found in the context


shouldIgnoreBean

protected boolean shouldIgnoreBean(Object bean)

isFilteredClass

protected boolean isFilteredClass(Object bean)


Apache CAMEL