Package io.ebean.service
Interface SpiContainer
-
- All Known Implementing Classes:
DefaultContainer
public interface SpiContainer
Creates the Database implementations. This is used internally by the EbeanServerFactory and is not currently exposed as public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EbeanServer
createServer(ServerConfig configuration)
Create the EbeanServer for a given configuration.EbeanServer
createServer(String name)
Create an EbeanServer just using the name.void
shutdown()
Shutdown any Ebean wide resources such as clustering.
-
-
-
Method Detail
-
createServer
EbeanServer createServer(ServerConfig configuration)
Create the EbeanServer for a given configuration.- Parameters:
configuration
- The configuration information for this database.
-
createServer
EbeanServer createServer(String name)
Create an EbeanServer just using the name.In this case the dataSource parameters etc will be defined on the global avaje.properties file.
-
shutdown
void shutdown()
Shutdown any Ebean wide resources such as clustering.
-
-