Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.directwebremoting
Class ServerContextFactory

    java.lang.Object
      org.directwebremoting.ServerContextFactory

    public class ServerContextFactory

extends java.lang.Object

Accessor for the current ServerContext.

Author:
  Joe Walker [joe at getahead dot ltd dot uk]

Nested Class Summary
`static interface` | `ServerContextFactory.ServerContextBuilder` Class to enable us to access servlet parameters.

Constructor Summary
`ServerContextFactory()`

Method Summary
`static ServerContext` | `get(javax.servlet.ServletContext ctx)` Accessor for the current ServerContext.
`static void` | `setServerContextBuilder(ServerContextFactory.ServerContextBuilder builder)` Internal method to allow us to get the ServerContextBuilder from which we will get ServerContext objects.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServerContextFactory

    public ServerContextFactory()

Method Detail

### get

    public static ServerContext get(javax.servlet.ServletContext ctx)

  Accessor for the current ServerContext.

  Parameters:
    `ctx` - The servlet context to allow us to bootstrap
  Returns:
    The current ServerContext.

### setServerContextBuilder

    public static void setServerContextBuilder(ServerContextFactory.ServerContextBuilder builder)

  Internal method to allow us to get the ServerContextBuilder from which we will get ServerContext objects. Do not call this method from outside of DWR.

  Parameters:
    `builder` - The factory object (from DwrServlet)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¬ 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD