net.sf.gwtspringrpc
Class RootWebApplicationContextRetriever

java.lang.Object
  extended by 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

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
RootWebApplicationContextRetriever()
           
 
Method Summary
 WebApplicationContext getWebApplicationContext(ServletContext servletContext, HttpServletRequest request)
          Retrieves the web application context by using WebAplicationContextUtils from the Spring framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RootWebApplicationContextRetriever

public RootWebApplicationContextRetriever()
Method Detail

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 context
request - The HTTP servlet request
Returns:
The web application context