Groovy Documentation

griffon.plugins.ebean
[Groovy] Class EbeanConnector

java.lang.Object
  griffon.plugins.ebean.EbeanConnector

@Singleton
final class EbeanConnector
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private def bootstrap

 
Constructor Summary
EbeanConnector()

 
Method Summary
com.avaje.ebean.EbeanServer connect(GriffonApplication app, String ebeanServerName = DEFAULT)

ConfigObject createConfig(GriffonApplication app)

private com.avaje.ebean.EbeanServer createEbeanServer(ConfigObject config, ConfigObject dsConfig, String ebeanServerName)

void disconnect(GriffonApplication app, String ebeanServerName = DEFAULT)

private ConfigObject narrowConfig(ConfigObject config, String ebeanServerName)

EbeanProvider resolveEbeanProvider(GriffonApplication app)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DEFAULT

private static final String DEFAULT


bootstrap

private def bootstrap


 
Constructor Detail

EbeanConnector

EbeanConnector()


 
Method Detail

connect

com.avaje.ebean.EbeanServer connect(GriffonApplication app, String ebeanServerName = DEFAULT)


createConfig

ConfigObject createConfig(GriffonApplication app)


createEbeanServer

private com.avaje.ebean.EbeanServer createEbeanServer(ConfigObject config, ConfigObject dsConfig, String ebeanServerName)


disconnect

void disconnect(GriffonApplication app, String ebeanServerName = DEFAULT)


narrowConfig

private ConfigObject narrowConfig(ConfigObject config, String ebeanServerName)


resolveEbeanProvider

EbeanProvider resolveEbeanProvider(GriffonApplication app)


 

Groovy Documentation