com.google.inject.servlet
Class ServletModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.google.inject.servlet.ServletModule
All Implemented Interfaces:
Module

public class ServletModule
extends AbstractModule

Configures the servlet scopes and creates bindings for the servlet API objects so you can inject the request, response, session, etc.


Constructor Summary
ServletModule()
           
 
Method Summary
protected  void configure()
          Configures a Binder via the exposed methods.
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindScope, configure, install, requestStaticInjection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletModule

public ServletModule()
Method Detail

configure

protected void configure()
Description copied from class: AbstractModule
Configures a Binder via the exposed methods.

Specified by:
configure in class AbstractModule


Copyright 2007 Google Inc. All Rights Reserved.