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.
- Author:
- crazybob@google.com (Bob Lee)
Methods inherited from class com.google.inject.AbstractModule |
bind, bind, bind, bindConstant, bindConstant, builder, configure, install, link, requestStaticInjection, scope |
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
ContainerBuilder
via the exposed methods.
- Specified by:
configure
in class AbstractModule