php.java.script
Class EngineFactory

java.lang.Object
  extended by php.java.script.EngineFactory

public class EngineFactory
extends java.lang.Object


Field Summary
static java.lang.String ROOT_ENGINE_FACTORY_ATTRIBUTE
           
 
Constructor Summary
EngineFactory()
           
 
Method Summary
static EngineFactory getEngineFactory(javax.servlet.ServletContext ctx)
           
static ScriptEngine getInvocablePhpScriptEngine(javax.servlet.Servlet servlet, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
static ScriptEngine getPhpScriptEngine(javax.servlet.Servlet servlet, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
static EngineFactory getRequiredEngineFactory(javax.servlet.ServletContext ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_ENGINE_FACTORY_ATTRIBUTE

public static final java.lang.String ROOT_ENGINE_FACTORY_ATTRIBUTE
Constructor Detail

EngineFactory

public EngineFactory()
Method Detail

getEngineFactory

public static EngineFactory getEngineFactory(javax.servlet.ServletContext ctx)

getRequiredEngineFactory

public static EngineFactory getRequiredEngineFactory(javax.servlet.ServletContext ctx)
                                              throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getPhpScriptEngine

public static ScriptEngine getPhpScriptEngine(javax.servlet.Servlet servlet,
                                              javax.servlet.ServletContext ctx,
                                              javax.servlet.http.HttpServletRequest req,
                                              javax.servlet.http.HttpServletResponse res)
                                       throws java.net.MalformedURLException,
                                              java.lang.IllegalStateException
Throws:
java.net.MalformedURLException
java.lang.IllegalStateException

getInvocablePhpScriptEngine

public static ScriptEngine getInvocablePhpScriptEngine(javax.servlet.Servlet servlet,
                                                       javax.servlet.ServletContext ctx,
                                                       javax.servlet.http.HttpServletRequest req,
                                                       javax.servlet.http.HttpServletResponse res)
                                                throws java.net.MalformedURLException,
                                                       java.lang.IllegalStateException,
                                                       java.net.URISyntaxException
Throws:
java.net.MalformedURLException
java.lang.IllegalStateException
java.net.URISyntaxException