|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectphp.java.bridge.http.SimpleContextFactory
php.java.servlet.SimpleServletContextFactory
php.java.servlet.ServletContextFactory
public class ServletContextFactory
Create session contexts for servlets.
In addition to the standard ContextFactory this manager keeps a reference to the HttpServletRequest.
ContextFactory
,
ContextServer
Method Summary | |
---|---|
static ServletContextFactory |
addNew(javax.servlet.Servlet servlet,
javax.servlet.ServletContext kontext,
javax.servlet.http.HttpServletRequest proxy,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Create and add a new ContextFactory. |
void |
waitFor(long timeout)
Wait for the context factory to finish. |
void |
waitForInitializedContext()
Wait for the context factory to finish. |
Methods inherited from class php.java.servlet.SimpleServletContextFactory |
---|
createContext, destroy, getSession, getSession, toString |
Methods inherited from class php.java.bridge.http.SimpleContextFactory |
---|
getBridge, getClassLoader, getContext, getId, getJavaBridgeClassLoader, initialize, invalidate, recycle, recycle, release, setClassLoader, setContext, visit |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void waitForInitializedContext() throws java.lang.InterruptedException
SimpleContextFactory
waitForInitializedContext
in interface IContextFactory
waitForInitializedContext
in class SimpleContextFactory
java.lang.InterruptedException
ContextRunner
public void waitFor(long timeout) throws java.lang.InterruptedException
SimpleContextFactory
waitFor
in interface IContextFactory
waitFor
in class SimpleContextFactory
timeout
- The timeout
java.lang.InterruptedException
ContextRunner
public static ServletContextFactory addNew(javax.servlet.Servlet servlet, javax.servlet.ServletContext kontext, javax.servlet.http.HttpServletRequest proxy, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
req
- The HttpServletRequestres
- The HttpServletResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |