org.apache.camel.example.guice.jms
Class OSGiCamelContextProvider

java.lang.Object
  extended by org.apache.camel.example.guice.jms.OSGiCamelContextProvider
All Implemented Interfaces:
com.google.inject.Provider<CamelContext>

public class OSGiCamelContextProvider
extends Object
implements com.google.inject.Provider<CamelContext>


Constructor Summary
OSGiCamelContextProvider(org.osgi.framework.BundleContext context)
           
 
Method Summary
 CamelContext get()
           
protected  Context getJndiContext()
           
protected  void updateRegistry(DefaultCamelContext camelContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiCamelContextProvider

public OSGiCamelContextProvider(org.osgi.framework.BundleContext context)
Method Detail

getJndiContext

protected Context getJndiContext()

updateRegistry

protected void updateRegistry(DefaultCamelContext camelContext)

get

public CamelContext get()
Specified by:
get in interface com.google.inject.Provider<CamelContext>


Apache CAMEL