org.apache.camel
Interface CamelContextAware

All Known Subinterfaces:
Component, Debugger, ScheduledPollConsumerScheduler
All Known Implementing Classes:
AggregationStrategyBeanAdapter, BaseSSLContextParameters, BeanComponent, BeanEndpoint, BindingComponent, BindingEndpoint, BindingNameComponent, BrowseComponent, BrowseEndpoint, CamelPostProcessorHelper, ClassComponent, ControlBusComponent, ControlBusEndpoint, DataFormatComponent, DataFormatEndpoint, DataSetComponent, DataSetEndpoint, DefaultComponent, DefaultDebugger, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementNamingStrategy, DefaultManagementStrategy, DefaultPollingEndpoint, DefaultScheduledPollConsumerScheduler, DefaultShutdownStrategy, DefaultStreamCachingStrategy, DirectComponent, DirectEndpoint, DirectVmComponent, DirectVmEndpoint, FailOverLoadBalancer, FileComponent, FileEndpoint, FileLanguage, FilterParameters, GenericFileComponent, GenericFileEndpoint, HeaderFilterStrategyComponent, JsseParameters, KeyManagersParameters, KeyStoreParameters, LanguageComponent, LanguageEndpoint, LanguageSupport, LogComponent, LogEndpoint, ManagedManagementStrategy, MarshalProcessor, MockComponent, MockEndpoint, ProcessorEndpoint, PropertiesComponent, PublishEventNotifier, RefComponent, ResourceEndpoint, ScheduledPollEndpoint, SecureRandomParameters, SedaComponent, SedaEndpoint, SimpleLanguage, SSLContextClientParameters, SSLContextParameters, SSLContextServerParameters, StubComponent, TestComponent, TestEndpoint, ThrottlingInflightRoutePolicy, TimerComponent, TimerEndpoint, TimerListenerManager, TrustManagersParameters, UnmarshalProcessor, UriEndpointComponent, ValidatorComponent, VmComponent, XPathLanguage, XsltComponent, XsltEndpoint

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:

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