Interface SpiContainer

  • public interface SpiContainer
    Creates the Database implementations. This is used internally by the EbeanServerFactory and is not currently exposed as public API.
    • Method Detail

      • createServer

        Database createServer​(DatabaseConfig configuration)
        Create the EbeanServer for a given configuration.
        configuration - The configuration information for this database.
      • createServer

        Database createServer​(String name)
        Create an EbeanServer just using the name.

        In this case the dataSource parameters etc will be defined on the global file.

      • shutdown

        void shutdown()
        Shutdown any Ebean wide resources such as clustering.