org.apache.camel.blueprint
Class BlueprintCamelContext

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultCamelContext
          extended by org.apache.camel.blueprint.BlueprintCamelContext
All Implemented Interfaces:
CamelContext, RuntimeConfiguration, Service, ShutdownableService, SuspendableService

public class BlueprintCamelContext
extends DefaultCamelContext


Constructor Summary
BlueprintCamelContext()
           
BlueprintCamelContext(org.osgi.framework.BundleContext bundleContext, org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
           
 
Method Summary
protected  Registry createRegistry()
          Lazily create a default implementation
protected  TypeConverter createTypeConverter()
          Lazily create a default implementation
 void destroy()
           
 org.osgi.service.blueprint.container.BlueprintContainer getBlueprintContainer()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 void init()
           
 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, 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, getExecutorServiceStrategy, getFactoryFinder, getInflightRepository, getInjector, getInterceptStrategies, getLanguageNames, getLanguageResolver, getLifecycleStrategies, getManagementName, getManagementStrategy, getName, getNameStrategy, getNodeIdFactory, getPackageScanClassResolver, getProcessorFactory, getProducerServicePool, getProperties, 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, normalizeEndpointUri, removeComponent, removeEndpoints, removeRoute, removeRouteDefinition, removeRouteDefinition, removeRouteDefinitions, resolveDataFormat, resolveDataFormatDefinition, resolveLanguage, resolvePropertyPlaceholders, resumeRoute, resumeRouteService, routeSupportsSuspension, safelyStartRouteServices, safelyStartRouteServices, setApplicationContextClassLoader, setAutoCreateComponents, setAutoStartup, setClassResolver, setComponentResolver, setContextCounter, setDataFormatResolver, setDataFormats, setDebugger, setDefaultTracer, setDelayer, setErrorHandlerBuilder, setExecutorServiceStrategy, setFactoryFinderResolver, setHandleFault, setInflightRepository, setInjector, setInterceptStrategies, setJndiContext, setLanguageResolver, setLazyLoadTypeConverters, setLifecycleStrategies, 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.impl.ServiceSupport
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, 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

createTypeConverter

protected TypeConverter createTypeConverter()
Description copied from class: DefaultCamelContext
Lazily create a default implementation

Overrides:
createTypeConverter in class DefaultCamelContext

createRegistry

protected Registry createRegistry()
Description copied from class: DefaultCamelContext
Lazily create a default implementation

Overrides:
createRegistry in class DefaultCamelContext


Apache CAMEL