org.apache.camel.osgi
Class CamelContextFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
          extended by org.apache.camel.spring.CamelContextFactoryBean
              extended by org.apache.camel.osgi.CamelContextFactoryBean
All Implemented Interfaces:
EventListener, org.apache.camel.model.RouteContainer, Aware, DisposableBean, FactoryBean<SpringCamelContext>, InitializingBean, ApplicationContextAware, ApplicationListener<ApplicationEvent>, org.springframework.osgi.context.BundleContextAware

public class CamelContextFactoryBean
extends CamelContextFactoryBean
implements org.springframework.osgi.context.BundleContextAware


Field Summary
 
Fields inherited from class org.apache.camel.core.xml.AbstractCamelContextFactoryBean
LAZY_LOAD_TYPE_CONVERTERS
 
Constructor Summary
CamelContextFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  SpringCamelContext createContext()
          Create the context
 org.osgi.framework.BundleContext getBundleContext()
           
protected  SpringCamelContext newCamelContext()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class org.apache.camel.spring.CamelContextFactoryBean
findRouteBuildersByContextScan, findRouteBuildersByPackageScan, getAllowUseOriginalMessage, getApplicationContext, getAutoStartup, getBeanForType, getBeanPostProcessor, getBuilderRefs, getCamelJMXAgent, getCamelPropertyPlaceholder, getCamelStreamCachingStrategy, getContext, getContextScan, getDataFormats, getDelayer, getDependsOn, getEndpoints, getErrorHandlerRef, getHandleFault, getInterceptFroms, getIntercepts, getInterceptSendToEndpoints, getLazyLoadTypeConverters, getManagementNamePattern, getMessageHistory, getObjectType, getOnCompletions, getOnExceptions, getPackages, getPackageScan, getProperties, getRedeliveryPolicies, getRouteRefs, getRoutes, getShutdownEager, getShutdownRoute, getShutdownRunningTask, getStreamCache, getThreadNamePattern, getThreadPoolProfiles, getTrace, getTypeConverterStatisticsEnabled, getUseBreadcrumb, getUseMDCLogging, initBeanPostProcessor, initCustomRegistry, initPropertyPlaceholder, isImplicitId, onApplicationEvent, postProcessBeforeInit, setAllowUseOriginalMessage, setApplicationContext, setAutoStartup, setBeanPostProcessor, setBuilderRefs, setCamelJMXAgent, setCamelPropertyPlaceholder, setCamelStreamCachingStrategy, setContext, setContextScan, setDataFormats, setDelayer, setDependsOn, setErrorHandlerRef, setHandleFault, setImplicitId, setInterceptFroms, setIntercepts, setInterceptSendToEndpoints, setLazyLoadTypeConverters, setManagementNamePattern, setMessageHistory, setOnCompletions, setOnExceptions, setPackages, setPackageScan, setProperties, setRouteRefs, setRoutes, setShutdownEager, setShutdownRoute, setShutdownRunningTask, setStreamCache, setThreadNamePattern, setThreadPoolProfiles, setTrace, setTypeConverterStatisticsEnabled, setUseBreadcrumb, setUseMDCLogging
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelContextFactoryBean
destroy, findRouteBuilders, getContext, getContextClassLoaderOnStart, getObject, initCamelContext, initJMXAgent, initLazyLoadTypeConverters, initRouteRefs, initStreamCachingStrategy, initThreadPoolProfiles, installRoutes, isSingleton, setupRoutes
 
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.FactoryBean
getObject, isSingleton
 
Methods inherited from interface org.springframework.beans.factory.DisposableBean
destroy
 

Constructor Detail

CamelContextFactoryBean

public CamelContextFactoryBean()
Method Detail

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Specified by:
setBundleContext in interface org.springframework.osgi.context.BundleContextAware

createContext

protected SpringCamelContext createContext()
Description copied from class: CamelContextFactoryBean
Create the context

Overrides:
createContext in class CamelContextFactoryBean

newCamelContext

protected SpringCamelContext newCamelContext()
Overrides:
newCamelContext in class CamelContextFactoryBean

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class CamelContextFactoryBean
Throws:
Exception


Apache Camel