|
||||||||||
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.ResinQuercus
public class ResinQuercus
Facade for the PHP language.
Field Summary |
---|
Constructor Summary | |
---|---|
ResinQuercus()
Constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResinQuercus()
Method Detail |
---|
public void setWebApp(WebApp webApp)
public WebApp getWebApp()
public long getCurrentTime()
getCurrentTime
in class QuercusContext
public long getExactTimeNanoseconds()
getExactTimeNanoseconds
in class QuercusContext
public long getExactTime()
getExactTime
in class QuercusContext
public ModuleContext getLocalContext(java.lang.ClassLoader loader)
getLocalContext
in class QuercusContext
protected ModuleContext createModuleContext(ModuleContext parent, java.lang.ClassLoader loader)
createModuleContext
in class QuercusContext
public java.lang.String getCookieName()
getCookieName
in class QuercusContext
public Cache getSessionCache()
getSessionCache
in class QuercusContext
public void setSessionTimeout(long sessionTimeout)
setSessionTimeout
in class QuercusContext
public SessionManager getSessionManager()
public java.lang.String getVersion()
getVersion
in class QuercusContext
public java.lang.String getVersionDate()
getVersionDate
in class QuercusContext
public javax.sql.DataSource findDatabase(java.lang.String driver, java.lang.String url)
QuercusContext
findDatabase
in class QuercusContext
public java.sql.Connection getConnection(java.sql.Connection conn)
getConnection
in class QuercusContext
public void markForPoolRemoval(java.sql.Connection conn)
markForPoolRemoval
in class QuercusContext
public java.sql.Statement getStatement(java.sql.Statement stmt)
getStatement
in class QuercusContext
public boolean isResin()
isResin
in class QuercusContext
public void start()
start
in class QuercusContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |