com.caucho.quercus
Class ProGoogleQuercus

java.lang.Object
  extended by com.caucho.quercus.QuercusContext
      extended by com.caucho.quercus.GoogleQuercus
          extended by com.caucho.quercus.ProGoogleQuercus

public class ProGoogleQuercus
extends GoogleQuercus

Facade for the PHP language.


Field Summary
 
Fields inherited from class com.caucho.quercus.QuercusContext
_envTimeout, _functionNameMap, ENV_TIMEOUT_UPDATE_INTERVAL, INI_ALWAYS_POPULATE_RAW_POST_DATA, INI_INCLUDE_PATH, INI_REGISTER_LONG_ARRAYS, INI_UNICODE_FALLBACK_ENCODING, INI_UNICODE_FROM_ERROR_MODE, INI_UNICODE_FROM_ERROR_SUBST_CHAR, INI_UNICODE_HTTP_INPUT_ENCODING, INI_UNICODE_OUTPUT_ENCODING, INI_UNICODE_RUNTIME_ENCODING, INI_UNICODE_SCRIPT_ENCODING, INI_UNICODE_SEMANTICS
 
Constructor Summary
ProGoogleQuercus()
           
 
Method Summary
 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()
           
 java.lang.ClassLoader getCompileClassLoader()
          Returns the compile classloader
 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
 
Methods inherited from class com.caucho.quercus.QuercusContext
addImplClass, addJavaClass, addJavaClass, addLowerConstantId, addModule, addModuleInfo, clearDefinitionCache, close, completeEnv, createStaticName, createString, createUnicodeString, destroySession, extendFunctionMap, findClass, findClassId, findDatabase, findFunction, findFunctionId, findFunctionImpl, findJavaClassWrapper, findLowerFunctionImpl, findModule, getActiveEnvSet, getCachedClass, getClassCacheMap, getClassDef, getClassDefMap, getClassId, getClassIdCount, getClassMap, getClassName, getClassName, getConnection, getConstant, getConstantId, getConstantId, getConstantIdCount, getConstantLower, getConstantLowerId, getConstantMap, getConstantName, getCookieName, getCurrentTime, getDatabase, getDefCacheHitCount, getDefCacheMissCount, getDefinedFunctions, getDependencyCheckInterval, getExactTime, getExactTimeNanoseconds, getExtensionFuncs, getFunctionId, getFunctionIdCount, getFunctionMap, getIncludeCache, getIncludeCacheMax, getIncludeCacheTimeout, getIniBoolean, getIniDefinitions, getIniFile, getIniLong, getIniMap, getIniValue, getJavaClassDefinition, getJavaClassDefinition, getLoadedExtensions, getLocalContext, getLocalContext, getModuleContext, getModules, getModuleStartupListeners, getMysqlVersion, getPageCacheSize, getPhpVersion, getPhpVersionValue, getProfileIndex, getPwd, getQuercusSessionManager, getRegexpCacheSize, getSapiName, getScriptEncoding, getServerEnv, getServerEnvMap, getServletContext, getSessionCache, getSpecial, getStatement, getStdClass, getVersionDate, getWorkDir, includeExists, init, initLocal, isAllowUrlFopen, isAllowUrlInclude, isClosed, isCompile, isConnectionPool, isExtensionLoaded, isLooseParse, isRequireSource, isResin, isStrict, isSuperGlobal, isUnicodeSemantics, loadSession, markForPoolRemoval, objectToValue, parse, parse, parse, parseCode, parseEvalExpr, parseFunction, putIncludeCache, saveSession, setCachedClass, setCompile, setCompileFailover, setConnectionPool, setDatabase, setFunction, setIncludeCacheMax, setIncludeCacheTimeout, setIni, setIni, setIniFile, setLazyCompile, setLooseParse, setMysqlVersion, setPageCacheSize, setPhpVersion, setProfileProbability, setPwd, setRegexpCacheSize, setRequireSource, setScriptEncoding, setServerEnv, setServerEnv, setServletContext, setSessionTimeout, setSpecial, setStrict, setUnicodeSemantics, setWorkDir, start, startEnv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProGoogleQuercus

public ProGoogleQuercus()
Method Detail

isPro

public boolean isPro()
Returns true if this is the Professional version.

Overrides:
isPro in class QuercusContext

isProfile

public boolean isProfile()
Enables profiling mode

Overrides:
isProfile in class QuercusContext

getVersion

public java.lang.String getVersion()
Overrides:
getVersion in class QuercusContext

createEnv

public Env createEnv(QuercusPage page,
                     WriteStream out,
                     HttpServletRequest request,
                     HttpServletResponse response)
Overrides:
createEnv in class GoogleQuercus

createModuleContext

protected ModuleContext createModuleContext(ModuleContext parent,
                                            java.lang.ClassLoader loader)
Creates the professional module context.

Overrides:
createModuleContext in class GoogleQuercus

createPageManager

protected PageManager createPageManager()
Overrides:
createPageManager in class QuercusContext

createSessionManager

protected QuercusSessionManager createSessionManager()
Overrides:
createSessionManager in class QuercusContext

getCompileClassLoader

public java.lang.ClassLoader getCompileClassLoader()
Returns the compile classloader

Overrides:
getCompileClassLoader in class QuercusContext

setCompileClassLoader

public void setCompileClassLoader(java.lang.ClassLoader loader)
Sets the compile classloader

Overrides:
setCompileClassLoader in class QuercusContext

createExprFactory

public ExprFactory createExprFactory()
Overrides:
createExprFactory in class QuercusContext