|
||||||||||
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(javax.servlet.ServletConfig config,
javax.servlet.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. |
java.util.Collection |
getScriptSessionsByPage(java.lang.String otherPage)
Get a list of all ScriptSessions on a given page. |
javax.servlet.ServletConfig |
getServletConfig()
Accessor for the servlet config. |
javax.servlet.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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultServerContext(javax.servlet.ServletConfig config, javax.servlet.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 javax.servlet.ServletConfig getServletConfig()
ServerContext
getServletConfig
in interface ServerContext
public javax.servlet.ServletContext getServletContext()
ServerContext
getServletContext
in interface ServerContext
public java.lang.String getVersion()
ServerContext
getVersion
in interface ServerContext
|
Copyright ? 2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |