org.apache.camel
Interface CamelContextAware

All Known Implementing Classes:
BeanEndpoint, BrowseEndpoint, CamelPostProcessorHelper, DataSetEndpoint, DefaultEndpoint, DefaultPollingEndpoint, DirectEndpoint, FileEndpoint, GenericFileEndpoint, LogEndpoint, MockEndpoint, ProcessorEndpoint, RouteDefinition, ScheduledPollEndpoint, SedaEndpoint, TimerEndpoint

public interface CamelContextAware

An interface to represent an object which wishes to be injected with a CamelContext such as when working with Spring or Guice

Version:
$Revision: 800683 $

Method Summary
 CamelContext getCamelContext()
          Get the CamelContext
 void setCamelContext(CamelContext camelContext)
          Injects the CamelContext
 

Method Detail

setCamelContext

void setCamelContext(CamelContext camelContext)
Injects the CamelContext

Parameters:
camelContext - the Camel context

getCamelContext

CamelContext getCamelContext()
Get the CamelContext

Returns:
camelContext the Camel context


Apache CAMEL