Class CustomServerPlatform
java.lang.Object
org.eclipse.persistence.platform.server.ServerPlatformBase
org.eclipse.persistence.platform.server.CustomServerPlatform
- All Implemented Interfaces:
- ServerPlatform
INTERNAL:
 This is the concrete subclass responsible for handling backward compatibility for 9.0.4.
 This platform overrides:
 getExternalTransactionControllerClass(): to use a user-specified controller class
 This platform adds:
 setExternalTransactionControllerClass(Class newClass): to allow the user to define
 the external transaction controller when the 904 sessions.xml defines an
 external-transaction-controller-class.
- 
Field SummaryFields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBaseDEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize
- 
Constructor SummaryConstructorsConstructorDescriptionCustomServerPlatform(DatabaseSession newDatabaseSession) INTERNAL: Default Constructor: JTA is disabled until a transaction controller class is set.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidINTERNAL: externalTransactionControllerNotNullWarning(): When the external transaction controller is being initialized, we warn the developer if they have already defined the external transaction controller in some way other than subclassing ServerPlatformBase.INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use in the DatabaseSession This is defined by the user via the 904 sessions.xml.Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBaseclearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, getDatabaseSession, getJNDIConnectorLookupType, getModuleName, getNewTempClassLoader, getPartitionID, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTA11, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, unwrapConnection, usesPartitions, wasFailureCommunicationBased
- 
Constructor Details- 
CustomServerPlatformINTERNAL: Default Constructor: JTA is disabled until a transaction controller class is set. Runtime services are disabled.
 
- 
- 
Method Details- 
getExternalTransactionControllerClassINTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use in the DatabaseSession This is defined by the user via the 904 sessions.xml.- Specified by:
- getExternalTransactionControllerClassin interface- ServerPlatform
- Specified by:
- getExternalTransactionControllerClassin class- ServerPlatformBase
- Returns:
- Class externalTransactionControllerClass
- See Also:
 
- 
externalTransactionControllerNotNullWarningprotected void externalTransactionControllerNotNullWarning()INTERNAL: externalTransactionControllerNotNullWarning(): When the external transaction controller is being initialized, we warn the developer if they have already defined the external transaction controller in some way other than subclassing ServerPlatformBase. This warning is omitted in 9.0.4.- Overrides:
- externalTransactionControllerNotNullWarningin class- ServerPlatformBase
- See Also:
 
 
-