org.apache.camel
Interface CamelContextAware

All Known Subinterfaces:
Component, Debugger
All Known Implementing Classes:
AbstractCamelConsumerTemplateFactoryBean, AbstractCamelEndpointFactoryBean, AbstractCamelFactoryBean, AbstractCamelProducerTemplateFactoryBean, AbstractCamelRedeliveryPolicyFactoryBean, AbstractCamelThreadPoolFactoryBean, AMQPComponent, AntPathMatcherGenericFileFilter, AtomComponent, AtomEndpoint, BeanComponent, BeanEndpoint, BeanValidatorComponent, BrowseComponent, BrowseEndpoint, CacheComponent, CacheEndpoint, CamelConsumerTemplateFactoryBean, CamelConsumerTemplateFactoryBean, CamelEndpointFactoryBean, CamelEndpointFactoryBean, CamelErrorHandlerFactoryBean, CamelNamespaceHandler.CamelInjector, CamelPostProcessorHelper, CamelProducerTemplateFactoryBean, CamelProducerTemplateFactoryBean, CamelProxyFactoryBean, CamelProxyFactoryBean, CamelRedeliveryPolicyFactoryBean, CamelRedeliveryPolicyFactoryBean, CamelServiceExporter, CamelThreadPoolFactoryBean, CamelThreadPoolFactoryBean, CamelTransportFactory, ClassComponent, CometdComponent, CometdEndpoint, ConsumerInjection, Customer, CxfBeanComponent, CxfBeanEndpoint, CxfBeanTransportFactory, CxfBlueprintEndpoint, CxfComponent, CxfEndpoint, CxfRsComponent, CxfRsEndpoint, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetComponent, DataSetEndpoint, DefaultComponent, DefaultDebugger, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultPollingEndpoint, DefaultShutdownStrategy, DelimitedEndpoint, DigitalSignatureComponent, DigitalSignatureConfiguration, DigitalSignatureEndpoint, DirectComponent, DirectEndpoint, DnsComponent, DnsDigEndpoint, DnsIpEndpoint, DnsLookupEndpoint, DozerTypeConverterLoader, EjbComponent, EndpointInjector, EventAdminComponent, EventAdminEndpoint, 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, HazelcastAtomicnumberEndpoint, HazelcastComponent, HazelcastDefaultEndpoint, HazelcastInstanceEndpoint, HazelcastListEndpoint, HazelcastMapEndpoint, HazelcastMultimapEndpoint, HazelcastQueueEndpoint, HazelcastSedaEndpoint, HeaderFilterStrategyComponent, HttpComponent, HttpComponent, HttpEndpoint, HttpEndpoint, IBatisComponent, IBatisEndpoint, IrcComponent, IrcEndpoint, JavaSpaceComponent, JavaSpaceEndpoint, JaxbDataFormat, JcrComponent, JcrEndpoint, JdbcComponent, JdbcEndpoint, JettyHttpComponent, JettyHttpEndpoint, JingComponent, JmsComponent, JmsEndpoint, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JMXComponent, JMXEndpoint, JpaComponent, JpaEndpoint, Jt400Component, Jt400DataQueueEndpoint, Jt400PgmEndpoint, KestrelComponent, KestrelEndpoint, LanguageComponent, LanguageEndpoint, LdapComponent, LdapEndpoint, LocalContextComponent, LogComponent, LogEndpoint, LuceneComponent, LuceneEndpoint, MailComponent, MailEndpoint, ManagedManagementStrategy, MarshalProcessor, MinaComponent, MinaEndpoint, MockComponent, MockEndpoint, MsvComponent, MyBatisComponent, MyBatisEndpoint, NagiosComponent, NagiosEndpoint, NettyComponent, NettyEndpoint, PaxLoggingComponent, PaxLoggingEndpoint, PrinterComponent, PrinterEndpoint, ProcessorEndpoint, ProduceInjector, PropertiesComponent, PublishEventNotifier, QualifiedContextComponent, QuartzComponent, QuartzEndpoint, QuickfixjComponent, QuickfixjEndpoint, RefComponent, RelaxNGCompactSyntaxComponent, RemoteFileComponent, RemoteFileEndpoint, ResourceBasedComponent, ResourceBasedEndpoint, RestletComponent, RestletEndpoint, RmiComponent, RmiEndpoint, RouteboxComponent, RouteboxDirectEndpoint, RouteboxEndpoint, RouteboxSedaEndpoint, RssComponent, RssEndpoint, ScheduledPollEndpoint, SedaComponent, SedaEndpoint, ServletComponent, ServletEndpoint, SftpComponent, SftpEndpoint, SipComponent, SipEndpoint, SmppComponent, SmppEndpoint, SnmpComponent, SnmpEndpoint, SoapJaxbDataFormat, SpringIntegrationComponent, SpringIntegrationEndpoint, SpringWebserviceComponent, SpringWebserviceEndpoint, SqlComponent, SqlEndpoint, SqsComponent, SqsEndpoint, StreamComponent, StreamEndpoint, StringTemplateComponent, StringTemplateEndpoint, TestComponent, TestEndpoint, TimerComponent, TimerEndpoint, UnmarshalProcessor, ValidatorComponent, VelocityComponent, VelocityEndpoint, VmComponent, WikipediaEndpoint, 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:

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