org.apache.camel
Interface CamelContextAware

All Known Implementing Classes:
AntPathMatcherGenericFileFilter, BeanEndpoint, BrowseEndpoint, CamelPostProcessorHelper, DataSetEndpoint, DefaultEndpoint, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultPollingEndpoint, DefaultShutdownStrategy, DirectEndpoint, FileEndpoint, GenericFileEndpoint, LogEndpoint, MockEndpoint, ProcessorEndpoint, PublishEventNotifier, ScheduledPollEndpoint, SedaEndpoint, TimerEndpoint

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

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 The Apache Software Foundation. All Rights Reserved.