| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.spring.RouteBuilderFinder
public class RouteBuilderFinder
A helper class which will find all RouteBuilder instances on the classpath
| Constructor Summary | |
|---|---|
| RouteBuilderFinder(SpringCamelContext camelContext,
                                     String[] packages,
                                     ClassLoader classLoader,
                                     BeanPostProcessor postProcessor,
                                     PackageScanClassResolver resolver) | |
| Method Summary | |
|---|---|
|  void | appendBuilders(List<RoutesBuilder> list)Appends all the RouteBuilderinstances that can be found on the classpath | 
| protected  RoutesBuilder | instantiateBuilder(Class type) | 
| protected  boolean | isValidClass(Class type)Returns true if the object is non-abstract and supports a zero argument constructor | 
| protected  boolean | shouldIgnoreBean(Class type)Lets ignore beans that are not explicitly configured in the spring.xml | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RouteBuilderFinder(SpringCamelContext camelContext,
                          String[] packages,
                          ClassLoader classLoader,
                          BeanPostProcessor postProcessor,
                          PackageScanClassResolver resolver)
| Method Detail | 
|---|
public void appendBuilders(List<RoutesBuilder> list)
                    throws IllegalAccessException,
                           InstantiationException
RouteBuilder instances that can be found on the classpath
IllegalAccessException
InstantiationExceptionprotected boolean shouldIgnoreBean(Class type)
protected boolean isValidClass(Class type)
protected RoutesBuilder instantiateBuilder(Class type)
                                    throws IllegalAccessException,
                                           InstantiationException
IllegalAccessException
InstantiationException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||