public class DefaultRoutesLoader extends Object implements org.apache.camel.spi.RoutesLoader
RoutesLoader.| Modifier and Type | Field and Description |
|---|---|
static String |
ROUTES_LOADER_KEY_PREFIX
Prefix to use for looking up existing
RoutesLoader from the Registry. |
| Constructor and Description |
|---|
DefaultRoutesLoader() |
DefaultRoutesLoader(org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.apache.camel.RoutesBuilder> |
findRoutesBuilders(Collection<org.apache.camel.spi.Resource> resources) |
org.apache.camel.CamelContext |
getCamelContext() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String ROUTES_LOADER_KEY_PREFIX
RoutesLoader from the Registry.public DefaultRoutesLoader()
public DefaultRoutesLoader(org.apache.camel.CamelContext camelContext)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic Collection<org.apache.camel.RoutesBuilder> findRoutesBuilders(Collection<org.apache.camel.spi.Resource> resources) throws Exception
findRoutesBuilders in interface org.apache.camel.spi.RoutesLoaderExceptionApache Camel