org.directwebremoting
Interface ServerContextFactory.ServerContextBuilder

All Known Implementing Classes:
DefaultServerContextBuilder
Enclosing class:
ServerContextFactory

public static interface ServerContextFactory.ServerContextBuilder

Class to enable us to access servlet parameters.


Method Summary
 ServerContext get(ServletContext context)
          Accessor for the current ServerContext
 void set(ServletConfig config, ServletContext context, Container container)
          Make the current webapp know what the current config/context is.
 

Method Detail

set

void set(ServletConfig config,
         ServletContext context,
         Container container)
Make the current webapp know what the current config/context is. This method is only for use internally to DWR.

Parameters:
config - The servlet configuration
context - The servlet context
container - The IoC container

get

ServerContext get(ServletContext context)
Accessor for the current ServerContext

Parameters:
context - The web application environment
Returns:
The ServerContext that is associated with this web application