org.apache.camel.blueprint
Class BlueprintCamelContext

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultCamelContext
          extended by org.apache.camel.blueprint.BlueprintCamelContext
All Implemented Interfaces:
EventListener, org.apache.camel.CamelContext, org.apache.camel.model.ModelCamelContext, org.apache.camel.RuntimeConfiguration, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService, org.osgi.framework.ServiceListener

public class BlueprintCamelContext
extends org.apache.camel.impl.DefaultCamelContext
implements org.osgi.framework.ServiceListener


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
BlueprintCamelContext()
           
BlueprintCamelContext(org.osgi.framework.BundleContext bundleContext, org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
           
 
Method Summary
protected  org.apache.camel.spi.Registry createRegistry()
           
protected  org.apache.camel.TypeConverter createTypeConverter()
           
 void destroy()
           
 org.osgi.service.blueprint.container.BlueprintContainer getBlueprintContainer()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 void init()
           
 void serviceChanged(org.osgi.framework.ServiceEvent event)
           
 void setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class org.apache.camel.impl.DefaultCamelContext
addComponent, addEndpoint, addEndpointToRegistry, addInterceptStrategy, addLifecycleStrategy, addRegisterEndpointCallback, addRouteDefinition, addRouteDefinitions, addRoutes, addService, addStartupListener, convertBeanToEndpoint, createComponentResolver, createConsumerTemplate, createConsumerTemplate, createEndpoint, createInjector, createManagementMBeanAssembler, createManagementStrategy, createProducerTemplate, createProducerTemplate, disableJMX, doResume, doStart, doStartOrResumeRoutes, doStop, doSuspend, forceLazyInitialization, forceStopLazyInitialization, getApplicationContextClassLoader, getClassResolver, getComponent, getComponent, getComponentNames, getComponentResolver, getDataFormatResolver, getDataFormats, getDebugger, getDefaultFactoryFinder, getDefaultTracer, getDelayer, getEndpoint, getEndpoint, getEndpointKey, getEndpointKey, getEndpointMap, getEndpoints, getErrorHandlerBuilder, getErrorHandlerExecutorService, getExecutorServiceManager, getExecutorServiceStrategy, getFactoryFinder, getInflightRepository, getInjector, getInterceptStrategies, getLanguageNames, getLanguageResolver, getLifecycleStrategies, getManagementMBeanAssembler, getManagementName, getManagementStrategy, getName, getNameStrategy, getNodeIdFactory, getPackageScanClassResolver, getProcessorFactory, getProducerServicePool, getProperties, getPropertiesComponent, getPropertyPrefixToken, getPropertySuffixToken, getRegistry, getRoute, getRouteDefinition, getRouteDefinitions, getRoutes, getRouteServices, getRouteStartupOrder, getRouteStatus, getShutdownRoute, getShutdownRunningTask, getShutdownStrategy, getTypeConverter, getTypeConverterRegistry, getUptime, getUuidGenerator, hasComponent, hasEndpoint, hasService, isAutoCreateComponents, isAutoStartup, isHandleFault, isLazyLoadTypeConverters, isStartingRoutes, isStreamCaching, isTracing, isUseBreadcrumb, isUseMDCLogging, loadRoutesDefinition, logRouteState, normalizeEndpointUri, removeComponent, removeEndpoints, removeRoute, removeRouteDefinition, removeRouteDefinition, removeRouteDefinitions, removeService, resolveDataFormat, resolveDataFormatDefinition, resolveLanguage, resolvePropertyPlaceholders, resumeRoute, resumeRouteService, routeSupportsSuspension, safelyStartRouteServices, safelyStartRouteServices, setApplicationContextClassLoader, setAutoCreateComponents, setAutoStartup, setClassResolver, setComponentResolver, setContextCounter, setDataFormatResolver, setDataFormats, setDebugger, setDefaultTracer, setDelayer, setErrorHandlerBuilder, setExecutorServiceManager, setFactoryFinderResolver, setHandleFault, setInflightRepository, setInjector, setInterceptStrategies, setJndiContext, setLanguageResolver, setLazyLoadTypeConverters, setLifecycleStrategies, setManagementMBeanAssembler, setManagementName, setManagementStrategy, setName, setNameStrategy, setNodeIdFactory, setPackageScanClassResolver, setProcessorFactory, setProducerServicePool, setProperties, setRegistry, setRoutes, setShutdownRoute, setShutdownRunningTask, setShutdownStrategy, setStreamCaching, setTracing, setTypeConverter, setTypeConverterRegistry, setUseBreadcrumb, setUseMDCLogging, setUuidGenerator, shouldStartRoutes, shutdownRoute, shutdownRoute, shutdownRouteService, start, startRoute, startRoute, startRouteDefinitions, startRouteService, stopRoute, stopRoute, stopRoute, stopRoute, stopRouteService, stopRouteService, suspendRoute, suspendRoute, suspendRouteService, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.CamelContext
getStatus, getVersion
 
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
 
Methods inherited from interface org.apache.camel.Service
stop
 

Constructor Detail

BlueprintCamelContext

public BlueprintCamelContext()

BlueprintCamelContext

public BlueprintCamelContext(org.osgi.framework.BundleContext bundleContext,
                             org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
Method Detail

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)

getBlueprintContainer

public org.osgi.service.blueprint.container.BlueprintContainer getBlueprintContainer()

setBlueprintContainer

public void setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)

init

public void init()
          throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception

serviceChanged

public void serviceChanged(org.osgi.framework.ServiceEvent event)
Specified by:
serviceChanged in interface org.osgi.framework.ServiceListener

createTypeConverter

protected org.apache.camel.TypeConverter createTypeConverter()
Overrides:
createTypeConverter in class org.apache.camel.impl.DefaultCamelContext

createRegistry

protected org.apache.camel.spi.Registry createRegistry()
Overrides:
createRegistry in class org.apache.camel.impl.DefaultCamelContext


Apache CAMEL