|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.QuercusContext
com.caucho.quercus.ProQuercus
public class ProQuercus
Facade for the PHP language.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ProQuercus()
|
|
| Method Summary | |
|---|---|
static ProQuercus |
create()
|
Env |
createEnv(QuercusPage page,
WriteStream out,
HttpServletRequest request,
HttpServletResponse response)
|
ExprFactory |
createExprFactory()
|
protected ModuleContext |
createModuleContext(ModuleContext parent,
java.lang.ClassLoader loader)
Creates the professional module context. |
protected PageManager |
createPageManager()
|
protected QuercusSessionManager |
createSessionManager()
|
protected void |
extendFunctionMap(java.lang.String name,
int id)
|
java.lang.ClassLoader |
getCompileClassLoader()
Returns the compile classloader |
AbstractFunction[] |
getProfileFunctionMap()
Returns the profiling functions |
int |
getProfileIndex(java.lang.String name)
|
java.lang.String |
getProfileName(int index)
|
java.lang.String |
getVersion()
|
boolean |
isPro()
Returns true if this is the Professional version. |
boolean |
isProfile()
Enables profiling mode |
void |
setCompileClassLoader(java.lang.ClassLoader loader)
Sets the compile classloader |
int |
setFunction(java.lang.String name,
AbstractFunction fun)
|
void |
setProfileProbability(double probability)
Set profiling mode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProQuercus()
| Method Detail |
|---|
public static ProQuercus create()
public java.lang.String getVersion()
getVersion in class QuercusContextpublic boolean isPro()
isPro in class QuercusContextpublic boolean isProfile()
isProfile in interface ProfileQuercusisProfile in class QuercusContextpublic void setProfileProbability(double probability)
setProfileProbability in interface ProfileQuercussetProfileProbability in class QuercusContextpublic int getProfileIndex(java.lang.String name)
getProfileIndex in interface ProfileQuercusgetProfileIndex in class QuercusContextpublic java.lang.String getProfileName(int index)
getProfileName in interface ProfileQuercus
public Env createEnv(QuercusPage page,
WriteStream out,
HttpServletRequest request,
HttpServletResponse response)
createEnv in class QuercusContext
protected ModuleContext createModuleContext(ModuleContext parent,
java.lang.ClassLoader loader)
createModuleContext in class QuercusContextprotected PageManager createPageManager()
createPageManager in class QuercusContextprotected QuercusSessionManager createSessionManager()
createSessionManager in class QuercusContextpublic java.lang.ClassLoader getCompileClassLoader()
getCompileClassLoader in class QuercusContextpublic void setCompileClassLoader(java.lang.ClassLoader loader)
setCompileClassLoader in class QuercusContext
protected void extendFunctionMap(java.lang.String name,
int id)
extendFunctionMap in class QuercusContext
public int setFunction(java.lang.String name,
AbstractFunction fun)
setFunction in class QuercusContextpublic AbstractFunction[] getProfileFunctionMap()
getProfileFunctionMap in interface ProfileQuercuspublic ExprFactory createExprFactory()
createExprFactory in class QuercusContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||