|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.impl.DefaultServerContext
public class DefaultServerContext
The Default implementation of ServerContext
Constructor Summary | |
---|---|
DefaultServerContext(ServletConfig config,
ServletContext context,
Container container)
Build a new DefaultServerContext |
Method Summary | |
---|---|
java.util.Collection |
getAllScriptSessions()
Get a list of all the ScriptSessions known to this server at the given time. |
Container |
getContainer()
Accessor for the IoC container. |
protected ConverterManager |
getConverterManager()
Internal helper for getting at a ConverterManager |
protected ScriptSessionManager |
getScriptSessionManager()
Internal helper for getting at a ScriptSessionManager |
java.util.Collection |
getScriptSessionsByPage(java.lang.String otherPage)
Get a list of all ScriptSessions on a given page. |
ServletConfig |
getServletConfig()
Accessor for the servlet config. |
ServletContext |
getServletContext()
Returns the ServletContext to which this session belongs. |
java.lang.String |
getVersion()
Fish the version number out of the dwr.properties file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultServerContext(ServletConfig config, ServletContext context, Container container)
config
- The servlet configurationcontext
- The servlet contextcontainer
- The IoC containerMethod Detail |
---|
public java.util.Collection getAllScriptSessions()
ServerContext
getAllScriptSessions
in interface ServerContext
public Container getContainer()
ServerContext
getContainer
in interface ServerContext
public java.util.Collection getScriptSessionsByPage(java.lang.String otherPage)
ServerContext
getScriptSessionsByPage
in interface ServerContext
otherPage
- The URL including 'http://', up to (but not including) '?' or '#'
public ServletConfig getServletConfig()
ServerContext
getServletConfig
in interface ServerContext
public ServletContext getServletContext()
ServerContext
getServletContext
in interface ServerContext
public java.lang.String getVersion()
ServerContext
getVersion
in interface ServerContext
protected ScriptSessionManager getScriptSessionManager()
protected ConverterManager getConverterManager()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |