play.db
Class DBPlugin

java.lang.Object
  extended by play.PlayPlugin
      extended by play.db.DBPlugin
All Implemented Interfaces:
java.lang.Comparable<PlayPlugin>

public class DBPlugin
extends PlayPlugin

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.
 
Methods inherited from class play.PlayPlugin
addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, compareTo, compileAll, detectChange, enhance, getJsonStatus, loadTemplate, modelFactory, onActionInvocationResult, onApplicationReady, onApplicationStop, onClassesChange, onConfigurationRead, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, postEvent, rawInvocation, routeRequest, runTest, serveStatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

public static java.lang.String url
Constructor Detail

DBPlugin

public DBPlugin()
Method Detail

onApplicationStart

public void onApplicationStart()
Description copied from class: PlayPlugin
Called at application start (and at each reloading) Time to start statefull things.

Overrides:
onApplicationStart in class PlayPlugin

getStatus

public java.lang.String getStatus()
Description copied from class: PlayPlugin
Retun the plugin status

Overrides:
getStatus in class PlayPlugin

invocationFinally

public void invocationFinally()
Description copied from class: PlayPlugin
Called at the end of the invocation. (even if an exception occured). Time to close request specific things.

Overrides:
invocationFinally in class PlayPlugin


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly