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 |
|---|---|
java.lang.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
|
java.lang.String |
getServerNameAndVersion()
PUBLIC: getServerNameAndVersion(): Answer null because this does not apply to NoServerPlatform.
|
void |
launchContainerThread(java.lang.Thread thread)
INTERNAL: launchContainerThread(Thread thread): Do nothing because container Threads are not launchable
in this platform
|
java.sql.Connection |
unwrapOracleConnection(Platform platform,
java.sql.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, unregisterMBeanpublic NoServerPlatform(DatabaseSessionImpl newDatabaseSession)
public java.lang.String getServerNameAndVersion()
getServerNameAndVersion in interface ServerPlatformgetServerNameAndVersion in class ServerPlatformBasepublic java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass in interface ServerPlatformgetExternalTransactionControllerClass in class ServerPlatformBaseServerPlatformBase.isJTAEnabled(),
ServerPlatformBase.disableJTA(),
ServerPlatformBase.initializeExternalTransactionController()public void launchContainerThread(java.lang.Thread thread)
Thread - thread : the instance of Threadpublic SessionLog getServerLog()
getServerLog in interface ServerPlatformgetServerLog in class ServerPlatformBasepublic java.sql.Connection unwrapOracleConnection(Platform platform, java.sql.Connection connection)
unwrapOracleConnection in interface ServerPlatformunwrapOracleConnection in class ServerPlatformBase