public class NinjaEbeanServerLifecycle extends Object
As end-user you should NOT use this method directly. Instead simply inject EbeanServer into the class you want to use. The interface EbeanServer is configured by this class and provided by a provider.
| Constructor and Description |
|---|
NinjaEbeanServerLifecycle(Logger logger,
ninja.utils.NinjaProperties ninjaProperties) |
| Modifier and Type | Method and Description |
|---|---|
com.avaje.ebean.EbeanServer |
getEbeanServer() |
void |
startServer()
This method reads the configuration properties from
your application.conf file and configures Ebean accordingly.
|
@Inject public NinjaEbeanServerLifecycle(Logger logger, ninja.utils.NinjaProperties ninjaProperties)
Copyright © 2013. All Rights Reserved.