org.apache.camel
Interface CamelContextAware

All Known Subinterfaces:
Component, Debugger
All Known Implementing Classes:
BaseSSLContextParameters, BeanComponent, BeanEndpoint, BrowseComponent, BrowseEndpoint, CamelPostProcessorHelper, ClassComponent, DataSetComponent, DataSetEndpoint, DefaultComponent, DefaultDebugger, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultPollingEndpoint, DefaultShutdownStrategy, DirectComponent, DirectEndpoint, DirectVmComponent, DirectVmEndpoint, FailOverLoadBalancer, FileComponent, FileEndpoint, FilterParameters, GenericFileComponent, GenericFileEndpoint, HeaderFilterStrategyComponent, JsseParameters, KeyManagersParameters, KeyStoreParameters, LanguageComponent, LanguageEndpoint, LogComponent, LogEndpoint, ManagedManagementStrategy, MarshalProcessor, MockComponent, MockEndpoint, ProcessorEndpoint, PropertiesComponent, PublishEventNotifier, RefComponent, ResourceEndpoint, ScheduledPollEndpoint, SecureRandomParameters, SedaComponent, SedaEndpoint, SSLContextClientParameters, SSLContextParameters, SSLContextServerParameters, StubComponent, TestComponent, TestEndpoint, ThrottlingInflightRoutePolicy, TimerComponent, TimerEndpoint, TimerListenerManager, TrustManagersParameters, UnmarshalProcessor, ValidatorComponent, VmComponent, 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