com.google.inject.servlet
Class ServletModule
java.lang.Object
com.google.inject.AbstractModule
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.
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 |
ServletModule
public ServletModule()
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.