public final class NoServerPlatform extends ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize
Constructor and Description |
---|
NoServerPlatform(DatabaseSession 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 |
unwrapConnection(java.sql.Connection connection)
INTERNAL:
When there is no server, the original connection will be returned
|
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getModuleName, getNewTempClassLoader, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, wasFailureCommunicationBased
public NoServerPlatform(DatabaseSession newDatabaseSession)
public java.lang.String getServerNameAndVersion()
getServerNameAndVersion
in interface ServerPlatform
getServerNameAndVersion
in class ServerPlatformBase
public java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
ServerPlatformBase.isJTAEnabled()
,
ServerPlatformBase.disableJTA()
,
ServerPlatformBase.initializeExternalTransactionController()
public void launchContainerThread(java.lang.Thread thread)
Thread
- thread : the instance of Threadpublic SessionLog getServerLog()
getServerLog
in interface ServerPlatform
getServerLog
in class ServerPlatformBase
public java.sql.Connection unwrapConnection(java.sql.Connection connection)
unwrapConnection
in interface ServerPlatform
unwrapConnection
in class ServerPlatformBase