Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.directwebremoting.guice
Class DwrGuiceServletContextListener

    java.lang.Object
      com.google.inject.AbstractModule
          org.directwebremoting.guice.AbstractDwrModule
              org.directwebremoting.guice.DwrGuiceServletContextListener

All Implemented Interfaces:
  com.google.inject.Module, java.util.EventListener, javax.servlet.ServletContextListener

    public abstract class DwrGuiceServletContextListener

extends AbstractDwrModule
implements javax.servlet.ServletContextListener

Register a concrete subclass of this as a servlet context listener to configure an `Injector` and stash it in the `ServletContext`.

Author:
  Tim Peierls [tim at peierls dot net]

Constructor Summary
`DwrGuiceServletContextListener()`

Method Summary
`void` | `contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)`
`void` | `contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)`

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

### DwrGuiceServletContextListener

    public DwrGuiceServletContextListener()

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¬ 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD