org.directwebremoting
Interface HubFactory.HubBuilder

All Known Implementing Classes:
DefaultHubBuilder
Enclosing class:
HubFactory

public static interface HubFactory.HubBuilder

Class to enable us to access servlet parameters.


Method Summary
 Hub get()
          Accessor for the current Hub
 Hub get(javax.servlet.ServletContext context)
          Accessor for the current Hub.
 void set(javax.servlet.ServletContext context)
          Make the current webapp know what the current config/context is.
 

Method Detail

set

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

Parameters:
context - The servlet context

get

Hub get(javax.servlet.ServletContext context)
Accessor for the current Hub. For some setups DWR may not be able to discover the correct environment (i.e. ServletContext), so we need to tell it.

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

get

Hub get()
Accessor for the current Hub

Returns:
The Hub that is associated with this web application

Copyright ¬ 2005