org.ow2.easybeans.persistence.eclipselink
Class EasyBeansServerPlatform

java.lang.Object
  extended by org.eclipse.persistence.platform.server.ServerPlatformBase
      extended by org.ow2.easybeans.persistence.eclipselink.EasyBeansServerPlatform
All Implemented Interfaces:
org.eclipse.persistence.platform.server.ServerPlatform

public class EasyBeansServerPlatform
extends org.eclipse.persistence.platform.server.ServerPlatformBase

This class allows EclipseLink to get the TransactionManager.
This is the class used as integration class.

Author:
Florent Benoit

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
EasyBeansServerPlatform(org.eclipse.persistence.sessions.DatabaseSession databaseSession)
          Default constructor.
 
Method Summary
 java.lang.Class<?> getExternalTransactionControllerClass()
          INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for Oc4j.
 java.lang.String getServerNameAndVersion()
          Gets the EasyBeans server name.
 
Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getModuleName, getNewTempClassLoader, getServerLog, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, shouldUseDriverManager, unregisterMBean, unwrapConnection, wasFailureCommunicationBased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyBeansServerPlatform

public EasyBeansServerPlatform(org.eclipse.persistence.sessions.DatabaseSession databaseSession)
Default constructor.

Parameters:
databaseSession - The instance of DatabaseSession.
Method Detail

getExternalTransactionControllerClass

public java.lang.Class<?> getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for Oc4j. This is read-only.

Specified by:
getExternalTransactionControllerClass in interface org.eclipse.persistence.platform.server.ServerPlatform
Specified by:
getExternalTransactionControllerClass in class org.eclipse.persistence.platform.server.ServerPlatformBase
Returns:
Class externalTransactionControllerClass
See Also:
oracle.toplink.essentials.transaction.JTATransactionController, oracle.toplink.essentials.platform.server.ServerPlatformBase#isJTAEnabled(), oracle.toplink.essentials.platform.server.ServerPlatformBase#disableJTA(), oracle.toplink.essentials.platform.server.ServerPlatformBase#initializeExternalTransactionController()

getServerNameAndVersion

public java.lang.String getServerNameAndVersion()
Gets the EasyBeans server name.

Specified by:
getServerNameAndVersion in interface org.eclipse.persistence.platform.server.ServerPlatform
Overrides:
getServerNameAndVersion in class org.eclipse.persistence.platform.server.ServerPlatformBase
Returns:
String serverNameAndVersion


Copyright © 2006-2010 OW2 Consortium. All Rights Reserved.