|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
guice-servlet-2.0.jar.
See:
Description
| Interface Summary | |
|---|---|
| ServletModule.FilterKeyBindingBuilder | See the EDSL examples at ServletModule.configureServlets() |
| ServletModule.ServletKeyBindingBuilder | See the EDSL examples at ServletModule.configureServlets() |
| Class Summary | |
|---|---|
| GuiceFilter | Apply this filter in web.xml above all other filters (typically), to all requests where you plan to use servlet scopes. |
| GuiceServletContextListener | As of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener
class as a logical place to create and configure your injector. |
| ServletModule | Configures the servlet scopes and creates bindings for the servlet API objects so you can inject the request, response, session, etc. |
| ServletScopes | Servlet scopes. |
| Annotation Types Summary | |
|---|---|
| RequestParameters | Apply this to field or parameters of type Map<String, String[]>
when you want the HTTP request parameter map to be injected. |
| RequestScoped | Apply this to implementation classes when you want one instance per request. |
| SessionScoped | Apply this to implementation classes when you want one instance per session. |
Servlet API scopes, bindings and registration; this extension requires guice-servlet-2.0.jar.
Apply GuiceFilter to any servlets which will use the servlet
scopes. Install ServletModule into your Injector to install everything at once.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||