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, RouteContainer, DisposableBean, FactoryBean, InitializingBean, ApplicationContextAware, ApplicationListener, org.springframework.osgi.context.BundleContextAware

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


Constructor Summary
CamelContextFactoryBean()
           
 
Method Summary
 org.osgi.framework.BundleContext getBundleContext()
           
protected  SpringCamelContext newCamelContext()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class org.apache.camel.spring.CamelContextFactoryBean
createContext, findRouteBuildersByContextScan, findRouteBuildersByPackageScan, getApplicationContext, getAutoStartup, getBeanForType, getBeanPostProcessor, getBuilderRefs, getCamelJMXAgent, getCamelPropertyPlaceholder, getContext, getContextScan, getDataFormats, getDelayer, getDependsOn, getErrorHandlerRef, getHandleFault, getInterceptFroms, getIntercepts, getInterceptSendToEndpoints, getObjectType, getOnCompletions, getOnExceptions, getPackages, getPackageScan, getProperties, getRouteRefs, getRoutes, getShutdownRoute, getShutdownRunningTask, getStreamCache, getThreadPoolProfiles, getTrace, initBeanPostProcessor, initCustomRegistry, onApplicationEvent, postProcessBeforeInit, setApplicationContext, setAutoStartup, setBeanPostProcessor, setBuilderRefs, setCamelJMXAgent, setCamelPropertyPlaceholder, setContext, setContextScan, setDataFormats, setDelayer, setDependsOn, setErrorHandlerRef, setHandleFault, setInterceptFroms, setIntercepts, setInterceptSendToEndpoints, setOnCompletions, setOnExceptions, setPackages, setPackageScan, setProperties, setRouteRefs, setRoutes, setShutdownRoute, setShutdownRunningTask, setStreamCache, setThreadPoolProfiles, setTrace
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelContextFactoryBean
afterPropertiesSet, destroy, findRouteBuilders, getContext, getContextClassLoaderOnStart, getObject, initCamelContext, installRoutes, isSingleton
 
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.InitializingBean
afterPropertiesSet
 
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

newCamelContext

protected SpringCamelContext newCamelContext()
Overrides:
newCamelContext in class CamelContextFactoryBean


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.