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