|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.PlayPlugin play.db.DBPlugin
public class DBPlugin
The DB plugin
Nested Class Summary | |
---|---|
static class |
DBPlugin.PlayConnectionCustomizer
|
static class |
DBPlugin.ProxyDriver
Needed because DriverManager will not load a driver ouside of the system classloader |
Field Summary | |
---|---|
static java.lang.String |
url
|
Fields inherited from class play.PlayPlugin |
---|
index |
Constructor Summary | |
---|---|
DBPlugin()
|
Method Summary | |
---|---|
java.lang.String |
getStatus()
Return the plugin status |
void |
invocationFinally()
Called at the end of the invocation. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String url
Constructor Detail |
---|
public DBPlugin()
Method Detail |
---|
public boolean rawInvocation(Http.Request request, Http.Response response) throws java.lang.Exception
PlayPlugin
rawInvocation
in class PlayPlugin
request
- The Play requestresponse
- The Play response
java.lang.Exception
public void onApplicationStart()
PlayPlugin
onApplicationStart
in class PlayPlugin
public void onApplicationStop()
PlayPlugin
onApplicationStop
in class PlayPlugin
public java.lang.String getStatus()
PlayPlugin
getStatus
in class PlayPlugin
public void invocationFinally()
PlayPlugin
invocationFinally
in class PlayPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |