public class ResinQuercus
extends QuercusContext
| 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) |
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() |
public void setWebApp(WebApp webApp)
public WebApp getWebApp()
public long getCurrentTime()
public long getExactTimeNanoseconds()
public long getExactTime()
public ModuleContext getLocalContext(java.lang.ClassLoader loader)
protected ModuleContext createModuleContext(ModuleContext parent,
java.lang.ClassLoader loader)
public java.lang.String getCookieName()
public Cache getSessionCache()
public void setSessionTimeout(long sessionTimeout)
public SessionManager getSessionManager()
public java.lang.String getVersion()
public java.lang.String getVersionDate()
public javax.sql.DataSource findDatabase(java.lang.String driver,
java.lang.String url)
public java.sql.Connection getConnection(java.sql.Connection conn)
public void markForPoolRemoval(java.sql.Connection conn)
public java.sql.Statement getStatement(java.sql.Statement stmt)
public boolean isResin()
public void start()