EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.platform.server.sap
Class SAPNetWeaver_7_1_Platform

java.lang.Object
  extended by org.eclipse.persistence.platform.server.ServerPlatformBase
      extended by org.eclipse.persistence.platform.server.sap.SAPNetWeaver_7_1_Platform
All Implemented Interfaces:
ServerPlatform

public class SAPNetWeaver_7_1_Platform
extends ServerPlatformBase

Server platform for SAP NetWeaver AS Java 7.1 (including EhP 1), 7.2 and follow-up releases.

Known limitations:

See Also:
NetweaverPlatform

Field Summary
 
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean
 
Constructor Summary
SAPNetWeaver_7_1_Platform(DatabaseSession newDatabaseSession)
           
 
Method Summary
 java.lang.Class getExternalTransactionControllerClass()
          INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use For this server platform.
 org.eclipse.persistence.internal.helper.JPAClassLoaderHolder getNewTempClassLoader(PersistenceUnitInfo puInfo)
          INTERNAL: JIRA EJBTHREE-572 requires that we use the real classLoader in place of the getNewTempClassLoader().
 java.lang.String getServerNameAndVersion()
          PUBLIC: getServerNameAndVersion(): Talk to the relevant server class library, and get the server name and version
 
Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getModuleName, getServerLog, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, shouldUseDriverManager, unregisterMBean, unwrapConnection, wasFailureCommunicationBased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAPNetWeaver_7_1_Platform

public SAPNetWeaver_7_1_Platform(DatabaseSession newDatabaseSession)
Method Detail

getExternalTransactionControllerClass

public java.lang.Class getExternalTransactionControllerClass()
Description copied from class: ServerPlatformBase
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use For this server platform. This is read-only. If the user wants a different external transaction controller class than the provided ServerPlatform(s), we recommend subclassing org.eclipse.persistence.platform.server.ServerPlatformBase (or a subclass), and overriding: ServerPlatformBase.getExternalTransactionControllerClass() for the desired behavior.

Specified by:
getExternalTransactionControllerClass in interface ServerPlatform
Specified by:
getExternalTransactionControllerClass in class ServerPlatformBase
Returns:
Class externalTransactionControllerClass
See Also:
JTATransactionController, ServerPlatformBase.isJTAEnabled(), ServerPlatformBase.disableJTA()

getServerNameAndVersion

public java.lang.String getServerNameAndVersion()
Description copied from class: ServerPlatformBase
PUBLIC: getServerNameAndVersion(): Talk to the relevant server class library, and get the server name and version

Specified by:
getServerNameAndVersion in interface ServerPlatform
Overrides:
getServerNameAndVersion in class ServerPlatformBase
Returns:
String serverNameAndVersion

getNewTempClassLoader

public org.eclipse.persistence.internal.helper.JPAClassLoaderHolder getNewTempClassLoader(PersistenceUnitInfo puInfo)
Description copied from interface: ServerPlatform
INTERNAL: JIRA EJBTHREE-572 requires that we use the real classLoader in place of the getNewTempClassLoader(). The override code should stay in place until the UCL3 loader does not throw a NPE on loadClass()

Specified by:
getNewTempClassLoader in interface ServerPlatform
Overrides:
getNewTempClassLoader in class ServerPlatformBase
Parameters:
puInfo - - the persistence unit info
Returns:
ClassLoaderHolder - a composite object containing the classLoader and the flag that is true if the classLoader returned is temporary
See Also:
org.eclipse.persistence.internal.helper.ClassLoaderHolder

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference