mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#394 - ENH: SpiServer - Add getServerConfig() to the api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.avaje.ebean.plugin;
|
||||
|
||||
import com.avaje.ebean.EbeanServer;
|
||||
import com.avaje.ebean.config.ServerConfig;
|
||||
import com.avaje.ebean.config.dbplatform.DatabasePlatform;
|
||||
|
||||
import java.util.List;
|
||||
@@ -10,6 +11,11 @@ import java.util.List;
|
||||
*/
|
||||
public interface SpiServer extends EbeanServer {
|
||||
|
||||
/**
|
||||
* Return the serverConfig.
|
||||
*/
|
||||
ServerConfig getServerConfig();
|
||||
|
||||
/**
|
||||
* Return the DatabasePlatform for this server.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user