public final class ServerPlatformUtils extends Object
| Constructor and Description |
|---|
ServerPlatformUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ServerPlatform |
createServerPlatform(DatabaseSession session,
String platformClass,
ClassLoader loader)
Create an instance of
ServerPlatform from parameters passed in. |
static String |
detectServerPlatform(AbstractSession session) |
public static String detectServerPlatform(AbstractSession session)
session - public static ServerPlatform createServerPlatform(DatabaseSession session, String platformClass, ClassLoader loader)
ServerPlatform from parameters passed in.session - DatabaseSession which will be passed to the constructor of ServerPlatformplatformClass - fully qualified name of the ServerPlatform implementation to initializeloader - ClassLoader to look up given platformClassServerPlatformNullPointerException - if platformClass is nullServerPlatformException - if supplied platformClass is not found or can not be initializedServerPlatformBase.ServerPlatformBase(DatabaseSession)EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference