public class DBPlugin extends PlayPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
DBPlugin.PlayConnectionCustomizer |
static class |
DBPlugin.ProxyDriver
Needed because DriverManager will not load a driver ouside of the system classloader
|
PlayPlugin.Filter<T>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
url |
index| Constructor and Description |
|---|
DBPlugin() |
| Modifier and Type | Method and Description |
|---|---|
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
|
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, enhance, getFilter, getFunctionalTests, getJsonStatus, getMessage, getUnitTests, loadTemplate, modelFactory, onActionInvocationFinally, onActionInvocationResult, onApplicationReady, onClassesChange, onConfigurationRead, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, routeRequest, runTest, serveStatic, unBind, willBeValidatedpublic boolean rawInvocation(Http.Request request, Http.Response response) throws java.lang.Exception
PlayPluginrawInvocation in class PlayPluginrequest - The Play requestresponse - The Play responsejava.lang.Exceptionpublic void onApplicationStart()
PlayPluginonApplicationStart in class PlayPluginpublic void onApplicationStop()
PlayPluginonApplicationStop in class PlayPluginpublic java.lang.String getStatus()
PlayPlugingetStatus in class PlayPluginpublic void invocationFinally()
PlayPlugininvocationFinally in class PlayPluginGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly