org.apache.camel
Interface CamelContextAware

All Known Subinterfaces:
Debugger
All Known Implementing Classes:
AbstractCamelConsumerTemplateFactoryBean, AbstractCamelEndpointFactoryBean, AbstractCamelProducerTemplateFactoryBean, AbstractCamelThreadPoolFactoryBean, AntPathMatcherGenericFileFilter, AtomEndpoint, BeanEndpoint, BrowseEndpoint, CacheEndpoint, CamelConsumerTemplateFactoryBean, CamelConsumerTemplateFactoryBean, CamelEndpointFactoryBean, CamelEndpointFactoryBean, CamelPostProcessorHelper, CamelProducerTemplateFactoryBean, CamelProducerTemplateFactoryBean, CamelProxyFactoryBean, CamelServiceExporter, CamelThreadPoolFactoryBean, CamelThreadPoolFactoryBean, CometdEndpoint, ConsumerInjection, Customer, CxfBeanEndpoint, CxfEndpoint, CxfRsEndpoint, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetEndpoint, DefaultDebugger, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultPollingEndpoint, DefaultShutdownStrategy, DelimitedEndpoint, DigitalSignatureConfiguration, DigitalSignatureEndpoint, DirectEndpoint, DozerTypeConverterLoader, EndpointInjector, EventEndpoint, ExecEndpoint, FeedEndpoint, FileEndpoint, FixedLengthEndpoint, FreemarkerEndpoint, FtpEndpoint, FtpsEndpoint, GAuthEndpoint, GenericFileEndpoint, GHttpEndpoint, GLoginEndpoint, GMailEndpoint, GTaskEndpoint, HttpEndpoint, HttpEndpoint, IBatisEndpoint, IrcEndpoint, JavaSpaceEndpoint, JcrEndpoint, JdbcEndpoint, JettyHttpEndpoint, JmsEndpoint, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JpaEndpoint, Jt400DataQueueEndpoint, LdapEndpoint, LogEndpoint, LuceneEndpoint, MailEndpoint, ManagedManagementStrategy, MinaEndpoint, MockEndpoint, NagiosEndpoint, NettyEndpoint, PrinterEndpoint, ProcessorEndpoint, ProduceInjector, PublishEventNotifier, QuartzEndpoint, QuickfixEndpoint, RemoteFileEndpoint, ResourceBasedEndpoint, RestletEndpoint, RmiEndpoint, RssEndpoint, ScheduledPollEndpoint, SedaEndpoint, ServletEndpoint, SftpEndpoint, SmppEndpoint, SnmpEndpoint, SpringIntegrationEndpoint, SqlEndpoint, StreamEndpoint, StringTemplateEndpoint, TestEndpoint, TimerEndpoint, VelocityEndpoint, XmppEndpoint

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


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.