php.java.script
Class PhpServletContextFactory

java.lang.Object
  extended by php.java.bridge.http.SimpleContextFactory
      extended by php.java.servlet.SimpleServletContextFactory
          extended by php.java.servlet.ServletContextFactory
              extended by php.java.script.PhpServletContextFactory
All Implemented Interfaces:
IContextFactory, IContextFactoryVisitor, IJavaBridgeFactory

public class PhpServletContextFactory
extends ServletContextFactory

A custom context factory, creates a ContextFactory for JSR223 contexts. This context factory does not wait for the continuation to terminate. Use the InvocablePhpServletContextFactory if you need to wait for the end of the php to java communication.

Author:
jostb
See Also:
InvocablePhpServletContextFactory

Method Summary
static IContextFactory addNew(IContext context, javax.servlet.Servlet servlet, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Add the PhpScriptContext
 
Methods inherited from class php.java.servlet.ServletContextFactory
addNew, waitFor, waitForInitializedContext
 
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

addNew

public static IContextFactory addNew(IContext context,
                                     javax.servlet.Servlet servlet,
                                     javax.servlet.ServletContext ctx,
                                     javax.servlet.http.HttpServletRequest req,
                                     javax.servlet.http.HttpServletResponse res)
Add the PhpScriptContext

Parameters:
context -
Returns:
The ContextFactory.