|
||||||||||
| 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 |
releaseManaged()
Wait for the context factory to finish, then release |
void |
waitFor(long timeout)
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, getSession, initialize, invalidate, isNew, 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 releaseManaged()
throws java.lang.InterruptedException
releaseManaged in interface IContextFactoryreleaseManaged in class SimpleContextFactoryjava.lang.InterruptedExceptionContextRunner
public void waitFor(long timeout)
throws java.lang.InterruptedException
waitFor in interface IContextFactorywaitFor in class SimpleContextFactorytimeout - The timeout
java.lang.InterruptedExceptionContextRunner
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)
servlet - The servletkontext - The servlet contextproxy - The proxied requestreq - The HttpServletRequestres - The HttpServletResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||