|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectplay.Plugin
play.db.ebean.EbeanPlugin
public class EbeanPlugin
A Play plugin that automatically manages Ebean configuration.
| Constructor Summary | |
|---|---|
EbeanPlugin(Application application)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
generateEvolutionScript(com.avaje.ebean.EbeanServer server,
com.avaje.ebean.config.ServerConfig config)
Helper method that generates the required evolution to properly run Ebean. |
void |
onStart()
Reads the configuration file and initialises required Ebean servers. |
| Methods inherited from class play.Plugin |
|---|
enabled, onStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EbeanPlugin(Application application)
| Method Detail |
|---|
public void onStart()
onStart in interface play.api.PluginonStart in class Plugin
public static java.lang.String generateEvolutionScript(com.avaje.ebean.EbeanServer server,
com.avaje.ebean.config.ServerConfig config)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||