public class DefaultResourceLoader
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.ResourceLoader
ResourceLoader.| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_LOADER_KEY_PREFIX
Prefix to use for looking up existing
ResourceLoader from the Registry. |
| Constructor and Description |
|---|
DefaultResourceLoader() |
DefaultResourceLoader(org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.spi.ResourceResolver |
getFallbackResolver() |
org.apache.camel.spi.Resource |
resolveResource(String uri) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setFallbackResolver(org.apache.camel.spi.ResourceResolver fallbackResolver) |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String RESOURCE_LOADER_KEY_PREFIX
ResourceLoader from the Registry.public DefaultResourceLoader()
public DefaultResourceLoader(org.apache.camel.CamelContext camelContext)
public void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic org.apache.camel.spi.ResourceResolver getFallbackResolver()
public void setFallbackResolver(org.apache.camel.spi.ResourceResolver fallbackResolver)
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 org.apache.camel.spi.Resource resolveResource(String uri)
resolveResource in interface org.apache.camel.spi.ResourceLoaderApache Camel