|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.platform.server.ServerPlatformBase
org.eclipse.persistence.platform.server.JMXServerPlatformBase
org.eclipse.persistence.platform.server.jboss.JBossPlatform
public class JBossPlatform
PUBLIC: This is the concrete subclass responsible for representing JBoss-specific server behavior. This platform overrides: getExternalTransactionControllerClass(): to use an JBoss-specific controller class
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase |
---|
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean |
Constructor Summary | |
---|---|
JBossPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited |
Method Summary | |
---|---|
java.lang.Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for JBoss. |
org.eclipse.persistence.internal.helper.JPAClassLoaderHolder |
getNewTempClassLoader(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. |
Methods inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase |
---|
getAbstractSession, getApplicationName, getApplicationName, getMBeanServer, getMBeanSessionName, getModuleName, getModuleName, getRuntimeServicesMBean, initializeApplicationNameAndModuleName, serverSpecificUnregisterMBean, setApplicationName, setModuleName, setRuntimeServicesMBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.platform.server.JMXEnabledPlatform |
---|
getApplicationName |
Constructor Detail |
---|
public JBossPlatform(DatabaseSession newDatabaseSession)
Method Detail |
---|
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 java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
JTATransactionController
,
ServerPlatformBase.isJTAEnabled()
,
ServerPlatformBase.disableJTA()
,
ServerPlatformBase.initializeExternalTransactionController()
public org.eclipse.persistence.internal.helper.JPAClassLoaderHolder getNewTempClassLoader(PersistenceUnitInfo puInfo)
getNewTempClassLoader
in interface ServerPlatform
getNewTempClassLoader
in class ServerPlatformBase
puInfo
- - the persistence unit info
org.eclipse.persistence.internal.helper.ClassLoaderHolder
public void prepareServerSpecificServicesMBean()
prepareServerSpecificServicesMBean
in interface JMXEnabledPlatform
ServerPlatformBase.isRuntimeServicesEnabled()
,
ServerPlatformBase.disableRuntimeServices()
,
ServerPlatformBase.registerMBean()
public void serverSpecificRegisterMBean()
serverSpecificRegisterMBean
in class JMXServerPlatformBase
ServerPlatformBase.isRuntimeServicesEnabled()
,
ServerPlatformBase.disableRuntimeServices()
,
ServerPlatformBase.registerMBean()
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |