public class GlassfishPlatform extends JMXServerPlatformBase implements JMXEnabledPlatform
JMX_MBEANSERVER_INDEX_DEFAULT_FOR_MULTIPLE_SERVERS, JMX_REGISTRATION_PREFIX
DEFAULT_SERVER_NAME_AND_VERSION, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY
Constructor and Description |
---|
GlassfishPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for SUN AS9.
|
SessionLog |
getServerLog()
INTERNAL: getServerLog(): Return the ServerLog for this platform Return the default ServerLog in the base
|
boolean |
isRuntimeServicesEnabledDefault()
INTERNAL: isRuntimeServicesEnabledDefault(): Answer true if the JMX/MBean providing runtime services for the receiver's DatabaseSession will be deployed at runtime.
|
void |
prepareServerSpecificServicesMBean()
INTERNAL: prepareServerSpecificServicesMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for the databaseSession.
|
void |
serverSpecificRegisterMBean()
INTERNAL: serverSpecificRegisterMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for my databaseSession.
|
java.sql.Connection |
unwrapConnection(java.sql.Connection connection)
INTERNAL: This method is used to unwrap the connection wrapped by the application server.
|
getApplicationName, getMBeanServer, getModuleName, serverSpecificUnregisterMBean, setApplicationName
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, getDatabaseSession, getNewTempClassLoader, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, wasFailureCommunicationBased
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicationName
public GlassfishPlatform(DatabaseSession newDatabaseSession)
public java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
JTATransactionController
, ServerPlatformBase.isJTAEnabled()
, ServerPlatformBase.disableJTA()
, ServerPlatformBase.initializeExternalTransactionController()
public java.sql.Connection unwrapConnection(java.sql.Connection connection)
ServerPlatformBase
unwrapConnection
in interface ServerPlatform
unwrapConnection
in class ServerPlatformBase
public SessionLog getServerLog()
ServerPlatformBase
getServerLog
in interface ServerPlatform
getServerLog
in class ServerPlatformBase
public boolean isRuntimeServicesEnabledDefault()
ServerPlatformBase
ServerPlatformBase.isRuntimeServicesEnabled()
for a ServerPlatform. By default this is false
but some platforms can choose to have MBeans deployed by default.isRuntimeServicesEnabledDefault
in interface ServerPlatform
isRuntimeServicesEnabledDefault
in class ServerPlatformBase
public void prepareServerSpecificServicesMBean()
public void serverSpecificRegisterMBean()