|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectplay.PlayPlugin
play.db.DBPlugin
public class DBPlugin
The DB plugin
嵌套类摘要 | |
---|---|
static class |
DBPlugin.ProxyDriver
Needed because DriverManager will not load a driver outside of the system classloader |
字段摘要 |
---|
从类 play.PlayPlugin 继承的字段 |
---|
index |
构造方法摘要 | |
---|---|
DBPlugin()
|
方法摘要 | |
---|---|
protected java.util.Set<java.lang.String> |
detectedExtraDBConfigs(java.util.Properties props)
Looks for extra db configs in config. |
java.lang.String |
getStatus()
Return the plugin status |
void |
invocationFinally()
Called at the end of the invocation. |
protected boolean |
isDefaultDBConfigPresent(java.util.Properties props)
|
void |
onApplicationStart()
Called at application start (and at each reloading) Time to start stateful things. |
void |
onApplicationStop()
Called at application stop (and before each reloading) Time to shutdown stateful things. |
boolean |
rawInvocation(Http.Request request,
Http.Response response)
Give a chance to this plugin to fully manage this request |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public DBPlugin()
方法详细信息 |
---|
public boolean rawInvocation(Http.Request request, Http.Response response) throws java.lang.Exception
PlayPlugin
复制的描述
PlayPlugin
中的 rawInvocation
request
- The Play requestresponse
- The Play response
java.lang.Exception
public void onApplicationStart()
PlayPlugin
复制的描述
PlayPlugin
中的 onApplicationStart
protected boolean isDefaultDBConfigPresent(java.util.Properties props)
protected java.util.Set<java.lang.String> detectedExtraDBConfigs(java.util.Properties props)
public void onApplicationStop()
PlayPlugin
复制的描述
PlayPlugin
中的 onApplicationStop
public java.lang.String getStatus()
PlayPlugin
复制的描述
PlayPlugin
中的 getStatus
public void invocationFinally()
PlayPlugin
复制的描述
PlayPlugin
中的 invocationFinally
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |