Package | Description |
---|---|
io.ebean | |
io.ebean.dbmigration |
Generates DDL migration scripts based on changes to the model.
|
io.ebean.event |
Persist and Query Event Controllers and Listeners
|
io.ebean.plugin |
Provides a API for plugins.
|
io.ebean.service | |
io.ebean.text.csv |
CSV processing objects.
|
Modifier and Type | Method and Description |
---|---|
static EbeanServer |
EbeanServerFactory.create(ServerConfig config)
Create using the ServerConfig object to configure the server.
|
static EbeanServer |
EbeanServerFactory.create(String name)
Create using ebean.properties 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.
|
EbeanServer |
BeanFinder.db()
Return the EbeanServer to use.
|
EbeanServer |
BeanFinder.db(String server)
Return typically a different EbeanServer to the default.
|
static EbeanServer |
Ebean.getDefaultServer()
Returns the default EbeanServer.
|
static EbeanServer |
Ebean.getServer(String name)
Get the EbeanServer for a given DataSource.
|
Modifier and Type | Method and Description |
---|---|
static void |
Ebean.register(EbeanServer server,
boolean defaultServer)
Register the server with this Ebean singleton.
|
Modifier and Type | Method and Description |
---|---|
void |
DbMigration.setServer(EbeanServer ebeanServer)
Set the server to use to determine the current model.
|
Modifier and Type | Method and Description |
---|---|
EbeanServer |
BeanQueryRequest.getEbeanServer()
Return the server processing the request.
|
EbeanServer |
BeanDeleteIdRequest.getEbeanServer()
Return the server processing the request.
|
EbeanServer |
BeanPersistRequest.getEbeanServer()
Return the server processing the request.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SpiServer
Extensions to EbeanServer API made available to plugins.
|
Modifier and Type | Method and Description |
---|---|
EbeanServer |
SpiContainer.createServer(ServerConfig configuration)
Create the EbeanServer for a given configuration.
|
EbeanServer |
SpiContainer.createServer(String name)
Create an EbeanServer just using the name.
|
Modifier and Type | Method and Description |
---|---|
void |
CsvCallback.begin(EbeanServer server)
The processing is about to begin.
|
void |
DefaultCsvCallback.begin(EbeanServer server)
Create a transaction if required.
|
Copyright © 2019. All rights reserved.