public class ResinQuercus extends 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 and Description |
|---|
ResinQuercus()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ModuleContext |
createModuleContext(ModuleContext parent,
java.lang.ClassLoader loader) |
javax.sql.DataSource |
findDatabase(java.lang.String driver,
java.lang.String url)
Gets the default data source.
|
java.sql.Connection |
getConnection(java.sql.Connection conn)
Unwrap connection if necessary.
|
java.lang.String |
getCookieName() |
long |
getCurrentTime()
Returns the current time.
|
long |
getExactTime()
Returns the exact current time in milliseconds.
|
long |
getExactTimeNanoseconds()
Returns the current time in nanoseconds.
|
ModuleContext |
getLocalContext(java.lang.ClassLoader loader) |
Cache |
getSessionCache() |
SessionManager |
getSessionManager() |
java.sql.Statement |
getStatement(java.sql.Statement stmt)
Unwrap statement if necessary.
|
java.lang.String |
getVersion() |
java.lang.String |
getVersionDate() |
WebApp |
getWebApp() |
boolean |
isResin()
Returns true if Quercus is running under Resin.
|
void |
markForPoolRemoval(java.sql.Connection conn)
Marks the connection for removal from the connection pool.
|
void |
setSessionTimeout(long sessionTimeout) |
void |
setWebApp(WebApp webApp) |
void |
start() |
addImplClass, addInitModule, addJavaClass, addJavaClass, addLowerConstantId, clearDefinitionCache, close, completeEnv, createEnv, createExprFactory, createPageManager, createSessionManager, createStaticName, createString, createUnicodeString, destroySession, extendFunctionMap, finalize, findClass, findClassId, findFunction, findFunctionId, findFunctionImpl, findJavaClassWrapper, findLowerFunctionImpl, findModule, getActiveEnvSet, getCachedClass, getClassCacheMap, getClassDef, getClassDefMap, getClassId, getClassIdCount, getClassMap, getClassName, getClassName, getCompileClassLoader, getConstant, getConstantId, getConstantId, getConstantIdCount, getConstantLower, getConstantLowerId, getConstantMap, getConstantName, getDatabase, getDefCacheHitCount, getDefCacheMissCount, getDefinedFunctions, getDependencyCheckInterval, getExtensionFuncs, getFunctionId, getFunctionIdCount, getFunctionMap, getIncludeCache, getIncludeCacheMax, getIncludeCacheTimeout, getIniBoolean, getIniDefinitions, getIniFile, getIniLong, getIniMap, getIniString, getIniValue, getJavaClassDefinition, getJavaClassDefinition, getJdbcDriverContext, getLoadedExtensions, getLocalContext, getModuleContext, getModules, getModuleStartupListeners, getMysqlVersion, getName, getOutputEncoding, getPageCacheSize, getPhpVersion, getProfileIndex, getPwd, getQuercusSessionManager, getRegexpCacheSize, getSapiName, getScriptEncoding, getServerEnv, getServerEnvMap, getServletContext, getSpecial, getStdClass, getWebInfDir, getWorkDir, includeExists, init, initLocal, isAllowUrlFopen, isAllowUrlInclude, isClosed, isCompile, isConnectionPool, isExtensionLoaded, isLooseParse, isPro, isProfile, isRegisterArgv, isRequireSource, isStrict, isSuperGlobal, isUnicodeSemantics, loadSession, objectToValue, parse, parse, parse, parseCode, parseEvalExpr, parseFunction, putIncludeCache, saveSession, setCachedClass, setCompile, setCompileClassLoader, setCompileFailover, setConnectionPool, setDatabase, setDependencyCheckInterval, setFunction, setIncludeCacheMax, setIncludeCacheTimeout, setIni, setIni, setIniFile, setLazyCompile, setLooseParse, setMysqlVersion, setPageCacheSize, setPhpVersion, setProfileProbability, setPwd, setRegexpCacheSize, setRequireSource, setScriptEncoding, setServerEnv, setServerEnv, setServletContext, setSpecial, setStrict, setUnicodeSemantics, setWebInfDir, setWorkDir, startEnvpublic void setWebApp(WebApp webApp)
public WebApp getWebApp()
public long getCurrentTime()
getCurrentTime in class QuercusContextpublic long getExactTimeNanoseconds()
getExactTimeNanoseconds in class QuercusContextpublic long getExactTime()
getExactTime in class QuercusContextpublic ModuleContext getLocalContext(java.lang.ClassLoader loader)
getLocalContext in class QuercusContextprotected ModuleContext createModuleContext(ModuleContext parent, java.lang.ClassLoader loader)
createModuleContext in class QuercusContextpublic java.lang.String getCookieName()
getCookieName in class QuercusContextpublic Cache getSessionCache()
getSessionCache in class QuercusContextpublic void setSessionTimeout(long sessionTimeout)
setSessionTimeout in class QuercusContextpublic SessionManager getSessionManager()
public java.lang.String getVersion()
getVersion in class QuercusContextpublic java.lang.String getVersionDate()
getVersionDate in class QuercusContextpublic javax.sql.DataSource findDatabase(java.lang.String driver,
java.lang.String url)
QuercusContextfindDatabase in class QuercusContextpublic java.sql.Connection getConnection(java.sql.Connection conn)
getConnection in class QuercusContextpublic void markForPoolRemoval(java.sql.Connection conn)
markForPoolRemoval in class QuercusContextpublic java.sql.Statement getStatement(java.sql.Statement stmt)
getStatement in class QuercusContextpublic boolean isResin()
isResin in class QuercusContextpublic void start()
start in class QuercusContext