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(org.eclipse.persistence.internal.sessions.AbstractSession session) |
public static String detectServerPlatform(org.eclipse.persistence.internal.sessions.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 platformClassServerPlatformServerPlatformException - if supplied platformClass is not found, can not be initialized, or is null.ServerPlatformBase.ServerPlatformBase(DatabaseSession)Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.