org.directwebremoting.guice
Class CustomInjectorServletContextListener

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.directwebremoting.guice.util.AbstractModule
          extended by org.directwebremoting.guice.AbstractDwrModule
              extended by org.directwebremoting.guice.AbstractDwrGuiceServletContextListener
                  extended by org.directwebremoting.guice.CustomInjectorServletContextListener
All Implemented Interfaces:
com.google.inject.Module, java.util.EventListener, javax.servlet.ServletContextListener

public abstract class CustomInjectorServletContextListener
extends AbstractDwrGuiceServletContextListener

Register a concrete subclass of this as a servlet context listener; it uses createInjector() to obtain a custom Injector and then stashes it in the servlet context.

Author:
Tim Peierls [tim at peierls dot net]

Constructor Summary
CustomInjectorServletContextListener()
           
 
Method Summary
 
Methods inherited from class org.directwebremoting.guice.AbstractDwrGuiceServletContextListener
contextDestroyed, contextInitialized
 
Methods inherited from class org.directwebremoting.guice.util.AbstractModule
bindInterceptor, bindInterceptor, bindInterceptor, bindInterceptor, bindInterceptor, bindInterceptor, bindInterceptor
 
Methods inherited from class com.google.inject.AbstractModule
configure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomInjectorServletContextListener

public CustomInjectorServletContextListener()

Copyright 2008