org.apache.camel
Interface CamelContextAware

All Known Implementing Classes:
AntPathMatcherGenericFileFilter, AtomEndpoint, BeanEndpoint, BrowseEndpoint, CacheEndpoint, CamelConsumerTemplateFactoryBean, CamelEndpointFactoryBean, CamelPostProcessorHelper, CamelProducerTemplateFactoryBean, CamelProxyFactoryBean, CamelServiceExporter, CometdEndpoint, ConsumerInjection, CxfBeanEndpoint, CxfEndpoint, CxfRsEndpoint, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetEndpoint, DefaultEndpoint, DefaultPollingEndpoint, DelimitedEndpoint, DirectEndpoint, DozerTypeConverterLoader, EndpointInjector, EventEndpoint, FeedEndpoint, FileEndpoint, FixedLengthEndpoint, FreemarkerEndpoint, FtpEndpoint, FtpsEndpoint, GenericFileEndpoint, GHttpEndpoint, GMailEndpoint, GTaskEndpoint, HttpEndpoint, IBatisEndpoint, IrcEndpoint, JavaSpaceEndpoint, JcrEndpoint, JdbcEndpoint, JettyHttpEndpoint, JmsEndpoint, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JpaEndpoint, Jt400DataQueueEndpoint, LdapEndpoint, LogEndpoint, LuceneEndpoint, MailEndpoint, MinaEndpoint, MockEndpoint, PrinterEndpoint, ProcessorEndpoint, ProduceInjector, PublishEventNotifier, QuartzEndpoint, QuickfixEndpoint, RemoteFileEndpoint, ResourceBasedEndpoint, RestletEndpoint, RmiEndpoint, RouteDefinition, 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.