org.directwebremoting.guice
Class AbstractDwrGuiceServletContextListener

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
All Implemented Interfaces:
com.google.inject.Module, java.util.EventListener, javax.servlet.ServletContextListener
Direct Known Subclasses:
CustomInjectorServletContextListener, DwrGuiceServletContextListener

public abstract class AbstractDwrGuiceServletContextListener
extends AbstractDwrModule
implements javax.servlet.ServletContextListener

Not for subclassing directly; this is a common base for two different approaches to Injector creation and configuration, DwrGuiceServletContextListener and CustomInjectorServletContextListener.

Author:
Tim Peierls [tim at peierls dot net]

Constructor Summary
AbstractDwrGuiceServletContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
 
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

AbstractDwrGuiceServletContextListener

public AbstractDwrGuiceServletContextListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

Copyright 2008