org.apache.camel.component.servletlistener
Class JndiCamelServletContextListener

java.lang.Object
  extended by org.apache.camel.component.servletlistener.CamelServletContextListener<org.apache.camel.impl.JndiRegistry>
      extended by org.apache.camel.component.servletlistener.JndiCamelServletContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class JndiCamelServletContextListener
extends CamelServletContextListener<org.apache.camel.impl.JndiRegistry>

An implementation of CamelServletContextListener that uses the JndiRegistry as its Registry.


Field Summary
 
Fields inherited from class org.apache.camel.component.servletlistener.CamelServletContextListener
camelContext, camelContextLifecycle, instance, LOG, registry, test
 
Constructor Summary
JndiCamelServletContextListener()
           
 
Method Summary
protected  org.apache.camel.impl.JndiRegistry createRegistry()
          Creates the Registry implementation to use.
 Context getJndiContext()
           
 
Methods inherited from class org.apache.camel.component.servletlistener.CamelServletContextListener
contextDestroyed, contextInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiCamelServletContextListener

public JndiCamelServletContextListener()
Method Detail

createRegistry

protected org.apache.camel.impl.JndiRegistry createRegistry()
                                                     throws Exception
Description copied from class: CamelServletContextListener
Creates the Registry implementation to use.

Specified by:
createRegistry in class CamelServletContextListener<org.apache.camel.impl.JndiRegistry>
Throws:
Exception

getJndiContext

public Context getJndiContext()


Apache Camel