|
||||||||||
| 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 container| Method Detail |
|---|
public java.util.Collection getAllScriptSessions()
ServerContext
getAllScriptSessions in interface ServerContextpublic Container getContainer()
ServerContext
getContainer in interface ServerContextpublic java.util.Collection getScriptSessionsByPage(java.lang.String otherPage)
ServerContext
getScriptSessionsByPage in interface ServerContextotherPage - The URL including 'http://', up to (but not including) '?' or '#'
public javax.servlet.ServletConfig getServletConfig()
ServerContext
getServletConfig in interface ServerContextpublic javax.servlet.ServletContext getServletContext()
ServerContext
getServletContext in interface ServerContextpublic 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 | |||||||||