org.apache.camel.component
Class ResourceBasedEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.impl.ScheduledPollEndpoint<E>
          extended by org.apache.camel.impl.DefaultPollingEndpoint<Exchange>
              extended by org.apache.camel.impl.ProcessorEndpoint
                  extended by org.apache.camel.component.ResourceBasedEndpoint
All Implemented Interfaces:
Endpoint<Exchange>

public abstract class ResourceBasedEndpoint
extends ProcessorEndpoint

A useful base class for endpoints which depend on a resource such as things like Velocity or XQuery based components

Version:
$Revision: 630591 $

Field Summary
protected static Log LOG
           
 
Constructor Summary
ResourceBasedEndpoint(String endpointUri, Component component, String resourceUri, Processor processor)
           
 
Method Summary
 org.springframework.core.io.Resource getResource()
           
 org.springframework.core.io.ResourceLoader getResourceLoader()
           
 void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
           
 
Methods inherited from class org.apache.camel.impl.ProcessorEndpoint
createPollingConsumer, createProducer, getProcessor, isSingleton, onExchange
 
Methods inherited from class org.apache.camel.impl.DefaultPollingEndpoint
createConsumer
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, createExchange, createExchange, createExchange, createExecutorService, equals, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

protected static final transient Log LOG
Constructor Detail

ResourceBasedEndpoint

public ResourceBasedEndpoint(String endpointUri,
                             Component component,
                             String resourceUri,
                             Processor processor)
Method Detail

getResource

public org.springframework.core.io.Resource getResource()

getResourceLoader

public org.springframework.core.io.ResourceLoader getResourceLoader()

setResourceLoader

public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)


Copyright © 2008 Apache Software Foundation. All Rights Reserved.