org.apache.camel.component
Class CamelResourceLoader
java.lang.Object
org.springframework.core.io.DefaultResourceLoader
org.apache.camel.component.CamelResourceLoader
- All Implemented Interfaces:
- org.springframework.core.io.ResourceLoader
Deprecated. use ResourceEndpoint
. Will be removed in Camel 3.0.
@Deprecated
public class CamelResourceLoader
- extends org.springframework.core.io.DefaultResourceLoader
A Camel specific ResourceLoader
which can load
resources from classpath using the Camel ClassResolver
.
Fields inherited from interface org.springframework.core.io.ResourceLoader |
CLASSPATH_URL_PREFIX |
Constructor Summary |
CamelResourceLoader(org.apache.camel.CamelContext camelContext)
Deprecated. |
Methods inherited from class org.springframework.core.io.DefaultResourceLoader |
getClassLoader, setClassLoader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelResourceLoader
public CamelResourceLoader(org.apache.camel.CamelContext camelContext)
- Deprecated.
getResource
public org.springframework.core.io.Resource getResource(String location)
- Deprecated.
- Specified by:
getResource
in interface org.springframework.core.io.ResourceLoader
- Overrides:
getResource
in class org.springframework.core.io.DefaultResourceLoader
getResourceByPath
protected org.springframework.core.io.Resource getResourceByPath(String path)
- Deprecated.
- Overrides:
getResourceByPath
in class org.springframework.core.io.DefaultResourceLoader
Apache CAMEL