| org.directwebremoting.guice.DwrGuiceServletModule
DwrGuiceServletModule | class DwrGuiceServletModule extends AbstractModule (Code) | | Configures DWR scopes and creates bindings for commonly
used objects related to those scopes: request, response,
script session, session, servlet context, and web context.
Since Guice's ServletModule makes its own bindings for requests,
responses, and sessions, this class has a constructor that lets
the user specify whether to avoid conflicts by not binding these types.
author: Tim Peierls [tim at peierls dot net] |
Constructor Summary | |
public | DwrGuiceServletModule() Creates a module to configure DWR scopes and bindings;
conflicts with the bindings provided by Guice's ServletModule. | public | DwrGuiceServletModule(boolean bindPotentiallyConflictingTypes) Creates a module to configure DWR scopes and bindings;
conflicts with the bindings provided by Guice's ServletModule
unless
bindPotentiallyConflictingTypes is false, in which
case this module will not create its own bindings for requests,
responses, and sessions. |
DwrGuiceServletModule | public DwrGuiceServletModule()(Code) | | Creates a module to configure DWR scopes and bindings;
conflicts with the bindings provided by Guice's ServletModule.
Normally you would not use this constructor directly, but instead call
AbstractDwrModule.bindDwrScopes bindDwrScopes in your binding
code.
|
DwrGuiceServletModule | public DwrGuiceServletModule(boolean bindPotentiallyConflictingTypes)(Code) | | Creates a module to configure DWR scopes and bindings;
conflicts with the bindings provided by Guice's ServletModule
unless
bindPotentiallyConflictingTypes is false, in which
case this module will not create its own bindings for requests,
responses, and sessions.
Normally you would not use this constructor directly, but instead call
AbstractDwrModule.bindDwrScopes(boolean) bindDwrScopes in your binding
code.
|
configure | protected void configure()(Code) | | |
|
|