org.apache.camel
Interface CamelContextAware

All Known Subinterfaces:
Component, Debugger
All Known Implementing Classes:
AntPathMatcherGenericFileFilter, BeanComponent, BeanEndpoint, BrowseComponent, BrowseEndpoint, CamelPostProcessorHelper, ClassComponent, DataSetComponent, DataSetEndpoint, DefaultComponent, DefaultDebugger, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultPollingEndpoint, DefaultShutdownStrategy, DirectComponent, DirectEndpoint, FileComponent, FileEndpoint, GenericFileComponent, GenericFileEndpoint, HeaderFilterStrategyComponent, LanguageComponent, LanguageEndpoint, LogComponent, LogEndpoint, ManagedManagementStrategy, MockComponent, MockEndpoint, ProcessorEndpoint, PropertiesComponent, PublishEventNotifier, RefComponent, ScheduledPollEndpoint, SedaComponent, SedaEndpoint, TimerComponent, TimerEndpoint, VmComponent

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