| Package | Description |
|---|---|
| com.avaje.ebean |
Core API (see EbeanServer and Ebean).
|
| com.avaje.ebean.cache |
Server Cache Service
|
| com.avaje.ebean.common |
Common non-public interfaces and implementation.
|
| com.avaje.ebean.config.dbplatform |
Database platform specific support
|
| com.avaje.ebean.dbmigration |
Generation DDL migration scripts based on changes to the model.
|
| com.avaje.ebean.event |
Persist and Query Event Controllers and Listeners
|
| com.avaje.ebean.plugin |
Provides a API for plugins.
|
| Modifier and Type | Method and Description |
|---|---|
static EbeanServer |
EbeanServerFactory.create(ServerConfig config)
Create using the ServerConfig object to configure the server.
|
static EbeanServer |
EbeanServerFactory.createWithContextClassLoader(ServerConfig config,
ClassLoader classLoader)
Create using the ServerConfig additionally specifying a classLoader to use as the context class loader.
|
| Modifier and Type | Method and Description |
|---|---|
ServerCacheFactory |
ServerCachePlugin.create(ServerConfig config,
BackgroundExecutor executor)
Create the ServerCacheFactory given the server config and background executor service.
|
| Modifier and Type | Method and Description |
|---|---|
EbeanServer |
SpiContainer.createServer(ServerConfig configuration)
Create the EbeanServer for a given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
H2Platform.configure(ServerConfig serverConfig) |
void |
DatabasePlatform.configure(ServerConfig serverConfig)
Configure UUID Storage etc based on ServerConfig settings.
|
void |
PostgresPlatform.configure(ServerConfig serverConfig) |
com.avaje.ebean.dbmigration.ddlgeneration.DdlHandler |
DatabasePlatform.createDdlHandler(ServerConfig serverConfig)
Create and return a DDL handler for generating DDL scripts.
|
com.avaje.ebean.dbmigration.ddlgeneration.DdlHandler |
PostgresPlatform.createDdlHandler(ServerConfig serverConfig)
Return a DdlHandler instance for generating DDL for the specific platform.
|
| Modifier and Type | Field and Description |
|---|---|
protected ServerConfig |
DbMigration.serverConfig |
| Modifier and Type | Method and Description |
|---|---|
void |
DbMigration.setServerConfig(ServerConfig config)
Set the serverConfig to use.
|
| Constructor and Description |
|---|
DdlGenerator(com.avaje.ebeaninternal.api.SpiEbeanServer server,
ServerConfig serverConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerConfigStartup.onStart(ServerConfig serverConfig)
On starting configure the ServerConfig.
|
| Modifier and Type | Method and Description |
|---|---|
ServerConfig |
SpiServer.getServerConfig()
Return the serverConfig.
|
Copyright © 2016. All rights reserved.