org.apache.camel
Interface CamelContextAware

All Known Subinterfaces:
Component, Debugger
All Known Implementing Classes:
AbstractCamelConsumerTemplateFactoryBean, AbstractCamelEndpointFactoryBean, AbstractCamelProducerTemplateFactoryBean, AbstractCamelThreadPoolFactoryBean, AMQPComponent, AntPathMatcherGenericFileFilter, AtomComponent, AtomEndpoint, BeanComponent, BeanEndpoint, BeanValidatorComponent, BrowseComponent, BrowseEndpoint, CacheComponent, CacheEndpoint, CamelConsumerTemplateFactoryBean, CamelConsumerTemplateFactoryBean, CamelEndpointFactoryBean, CamelEndpointFactoryBean, CamelPostProcessorHelper, CamelProducerTemplateFactoryBean, CamelProducerTemplateFactoryBean, CamelProxyFactoryBean, CamelServiceExporter, CamelThreadPoolFactoryBean, CamelThreadPoolFactoryBean, ClassComponent, CometdComponent, CometdEndpoint, ConsumerInjection, Customer, CxfBeanComponent, CxfBeanEndpoint, CxfComponent, CxfEndpoint, CxfRsComponent, CxfRsEndpoint, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetComponent, DataSetEndpoint, DefaultComponent, DefaultDebugger, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultPollingEndpoint, DefaultShutdownStrategy, DelimitedEndpoint, DigitalSignatureComponent, DigitalSignatureConfiguration, DigitalSignatureEndpoint, DirectComponent, DirectEndpoint, DozerTypeConverterLoader, EjbComponent, EndpointInjector, EventComponent, EventEndpoint, ExecComponent, ExecEndpoint, FeedComponent, FeedEndpoint, FileComponent, FileEndpoint, FixedLengthEndpoint, FlatpackComponent, FreemarkerComponent, FreemarkerEndpoint, FtpComponent, FtpEndpoint, FtpsComponent, FtpsEndpoint, GAuthComponent, GAuthEndpoint, GenericFileComponent, GenericFileEndpoint, GHttpComponent, GHttpEndpoint, GLoginComponent, GLoginEndpoint, GMailComponent, GMailEndpoint, GTaskComponent, GTaskEndpoint, HeaderFilterStrategyComponent, HttpComponent, HttpComponent, HttpEndpoint, HttpEndpoint, IBatisComponent, IBatisEndpoint, IrcComponent, IrcEndpoint, JavaSpaceComponent, JavaSpaceEndpoint, JcrComponent, JcrEndpoint, JdbcComponent, JdbcEndpoint, JettyHttpComponent, JettyHttpEndpoint, JingComponent, JmsComponent, JmsEndpoint, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JMXComponent, JMXEndpoint, JpaComponent, JpaEndpoint, Jt400Component, Jt400DataQueueEndpoint, LanguageComponent, LanguageEndpoint, LdapComponent, LdapEndpoint, LogComponent, LogEndpoint, LuceneComponent, LuceneEndpoint, MailComponent, MailEndpoint, ManagedManagementStrategy, MinaComponent, MinaEndpoint, MockComponent, MockEndpoint, MsvComponent, NagiosComponent, NagiosEndpoint, NettyComponent, NettyEndpoint, PrinterComponent, PrinterEndpoint, ProcessorEndpoint, ProduceInjector, PropertiesComponent, PublishEventNotifier, QuartzComponent, QuartzEndpoint, QuickfixjComponent, QuickfixjEndpoint, RefComponent, RelaxNGCompactSyntaxComponent, RemoteFileComponent, RemoteFileEndpoint, ResourceBasedComponent, ResourceBasedEndpoint, RestletComponent, RestletEndpoint, RmiComponent, RmiEndpoint, RssComponent, RssEndpoint, ScheduledPollEndpoint, SedaComponent, SedaEndpoint, ServletComponent, ServletEndpoint, SftpComponent, SftpEndpoint, SipComponent, SipEndpoint, SmppComponent, SmppEndpoint, SnmpComponent, SnmpEndpoint, SpringIntegrationComponent, SpringIntegrationEndpoint, SpringWebserviceComponent, SpringWebserviceEndpoint, SqlComponent, SqlEndpoint, StreamComponent, StreamEndpoint, StringTemplateComponent, StringTemplateEndpoint, TestComponent, TestEndpoint, TimerComponent, TimerEndpoint, ValidatorComponent, VelocityComponent, VelocityEndpoint, VmComponent, XmppComponent, XmppEndpoint, XQueryComponent, XsltComponent

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: 14461 $

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