|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.directwebremoting.servlet.DwrServlet
org.directwebremoting.guice.DwrGuiceServlet
public class DwrGuiceServlet
An extension of the basic
DwrServlet
that configures itself for dependency injection with Guice.
Must be used in conjunction with
DwrGuiceServletContextFilter
.
Constructor Summary | |
---|---|
DwrGuiceServlet()
|
Method Summary | |
---|---|
void |
destroy()
Closes any Closeable application-scoped objects. |
void |
init(javax.servlet.ServletConfig servletConfig)
Copies DWR configuration values from the Guice bindings into servletConfig to make these values accessible to the
standard DWR servlet configuration machinery. |
Methods inherited from class org.directwebremoting.servlet.DwrServlet |
---|
getContainer, shutdown |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DwrGuiceServlet()
Method Detail |
---|
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
servletConfig
to make these values accessible to the
standard DWR servlet configuration machinery.
init
in interface javax.servlet.Servlet
init
in class DwrServlet
javax.servlet.ServletException
public void destroy()
Closeable
application-scoped objects.
IO exceptions are collected but ignored.
destroy
in interface javax.servlet.Servlet
destroy
in class DwrServlet
|
Copyright ? 2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |