org.apache.camel.component
Class CamelResourceLoader

java.lang.Object
  extended by org.springframework.core.io.DefaultResourceLoader
      extended by 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.


Field Summary
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
CamelResourceLoader(org.apache.camel.CamelContext camelContext)
          Deprecated.  
 
Method Summary
 org.springframework.core.io.Resource getResource(String location)
          Deprecated.  
protected  org.springframework.core.io.Resource getResourceByPath(String path)
          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
 

Constructor Detail

CamelResourceLoader

public CamelResourceLoader(org.apache.camel.CamelContext camelContext)
Deprecated. 
Method Detail

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