public final class NoServerPlatform extends ServerPlatformBase
externalTransactionControllerClass
Constructor and Description |
---|
NoServerPlatform(DatabaseSessionImpl newDatabaseSession)
INTERNAL:
Default Constructor: Initialize so that runtime services and JTA are disabled.
|
Modifier and Type | Method and Description |
---|---|
Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer null because this does not apply.
|
SessionLog |
getServerLog()
INTERNAL: getServerLog(): Return the ServerLog for this platform
Return the default ServerLog in the base
|
String |
getServerNameAndVersion()
PUBLIC: getServerNameAndVersion(): Answer null because this does not apply to NoServerPlatform.
|
void |
launchContainerThread(Thread thread)
INTERNAL: launchContainerThread(Thread thread): Do nothing because container Threads are not launchable
in this platform
|
Connection |
unwrapOracleConnection(Platform platform,
Connection connection)
INTERNAL:
When there is no server, the original connection will be returned
|
disableJTA, disableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getModuleName, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, unregisterMBean
public NoServerPlatform(DatabaseSessionImpl newDatabaseSession)
public String getServerNameAndVersion()
getServerNameAndVersion
in interface ServerPlatform
getServerNameAndVersion
in class ServerPlatformBase
public Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
ServerPlatformBase.isJTAEnabled()
,
ServerPlatformBase.disableJTA()
,
ServerPlatformBase.initializeExternalTransactionController()
public void launchContainerThread(Thread thread)
Thread
- thread : the instance of Threadpublic SessionLog getServerLog()
getServerLog
in interface ServerPlatform
getServerLog
in class ServerPlatformBase
public Connection unwrapOracleConnection(Platform platform, Connection connection)
unwrapOracleConnection
in interface ServerPlatform
unwrapOracleConnection
in class ServerPlatformBase
Copyright © 2024. All rights reserved.