net.sf.gwtspringrpc
Class RootWebApplicationContextRetriever
java.lang.Object
net.sf.gwtspringrpc.RootWebApplicationContextRetriever
- All Implemented Interfaces:
- Serializable, WebApplicationContextRetriever
public class RootWebApplicationContextRetriever
- extends Object
- implements WebApplicationContextRetriever, Serializable
This class implements a WebApplicationContextRetriever that retrieves the
root web application context using Spring's WebApplicationContextUtils
class.
- Since:
- 1.0
- Author:
- Mike Clemens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
RootWebApplicationContextRetriever
public RootWebApplicationContextRetriever()
getWebApplicationContext
public WebApplicationContext getWebApplicationContext(ServletContext servletContext,
HttpServletRequest request)
- Retrieves the web application context by using WebAplicationContextUtils
from the Spring framework.
- Specified by:
getWebApplicationContext
in interface WebApplicationContextRetriever
- Parameters:
servletContext
- The servlet contextrequest
- The HTTP servlet request
- Returns:
- The web application context