public class JBossPlatform extends JMXServerPlatformBase implements JMXEnabledPlatform
JMX_MBEANSERVER_INDEX_DEFAULT_FOR_MULTIPLE_SERVERS, JMX_REGISTRATION_PREFIXDEFAULT_SERVER_NAME_AND_VERSION, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY| Constructor and Description |
|---|
JBossPlatform(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 JBoss.
|
org.eclipse.persistence.internal.helper.JPAClassLoaderHolder |
getNewTempClassLoader(javax.persistence.spi.PersistenceUnitInfo puInfo)
INTERNAL: JIRA EJBTHREE-572 requires that we use the real classLoader in place of the getNewTempClassLoader().
|
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.
|
getApplicationName, getMBeanServer, getModuleName, serverSpecificUnregisterMBean, setApplicationNameclearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, getDatabaseSession, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, unwrapConnection, wasFailureCommunicationBasedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationNamepublic JBossPlatform(DatabaseSession newDatabaseSession)
public boolean isRuntimeServicesEnabledDefault()
ServerPlatformBaseServerPlatformBase.isRuntimeServicesEnabled() for a ServerPlatform. By default this is false but some platforms can choose to have MBeans deployed by default.isRuntimeServicesEnabledDefault in interface ServerPlatformisRuntimeServicesEnabledDefault in class ServerPlatformBasepublic java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass in interface ServerPlatformgetExternalTransactionControllerClass in class ServerPlatformBaseJTATransactionController, ServerPlatformBase.isJTAEnabled(), ServerPlatformBase.disableJTA(), ServerPlatformBase.initializeExternalTransactionController()public org.eclipse.persistence.internal.helper.JPAClassLoaderHolder getNewTempClassLoader(javax.persistence.spi.PersistenceUnitInfo puInfo)
getNewTempClassLoader in interface ServerPlatformgetNewTempClassLoader in class ServerPlatformBasepuInfo - - the persistence unit infoorg.eclipse.persistence.internal.helper.ClassLoaderHolderpublic void prepareServerSpecificServicesMBean()
public void serverSpecificRegisterMBean()