org.apache.camel.osgi
Class CamelContextFactory
java.lang.Object
org.apache.camel.osgi.CamelContextFactory
- All Implemented Interfaces:
- org.springframework.osgi.context.BundleContextAware
- Direct Known Subclasses:
- SpringCamelContextFactory
public class CamelContextFactory
- extends Object
- implements org.springframework.osgi.context.BundleContextAware
This factory just create a DefaultContext in OSGi without
any spring application context involved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelContextFactory
public CamelContextFactory()
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
getRegistry
public org.apache.camel.spi.Registry getRegistry()
setRegistry
public void setRegistry(org.apache.camel.spi.Registry registry)
newCamelContext
protected org.apache.camel.impl.DefaultCamelContext newCamelContext()
createContext
public org.apache.camel.impl.DefaultCamelContext createContext()
Apache CAMEL