|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplay.PlayPlugin
play.db.DBPlugin
public class DBPlugin
The DB plugin
| Nested Class Summary | |
|---|---|
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()
Retun 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 statefull things. |
void |
onApplicationStop()
Called at application stop (and before each reloading) Time to shutdown statefull 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 PlayPluginrequest - The Play requestresponse - The Play response
java.lang.Exceptionpublic void onApplicationStart()
PlayPlugin
onApplicationStart in class PlayPluginpublic void onApplicationStop()
PlayPlugin
onApplicationStop in class PlayPluginpublic java.lang.String getStatus()
PlayPlugin
getStatus in class PlayPluginpublic void invocationFinally()
PlayPlugin
invocationFinally in class PlayPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||