org.objectweb.easybeans.persistence.oracle.toplink.essentials
Class EasyBeansServerPlatform

java.lang.Object
  extended by oracle.toplink.essentials.platform.server.ServerPlatformBase
      extended by org.objectweb.easybeans.persistence.oracle.toplink.essentials.EasyBeansServerPlatform
All Implemented Interfaces:
oracle.toplink.essentials.platform.server.ServerPlatform

public class EasyBeansServerPlatform
extends oracle.toplink.essentials.platform.server.ServerPlatformBase

This class allows Oracle Toplink Essentials to get the TransactionManager.
This is the class used as integration class.

Author:
Florent Benoit

Field Summary
private static java.lang.String EASYBEANS_NAME
          Name of the server.
 
Fields inherited from class oracle.toplink.essentials.platform.server.ServerPlatformBase
externalTransactionControllerClass
 
Constructor Summary
EasyBeansServerPlatform(oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl newDatabaseSession)
          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 oracle.toplink.essentials.platform.server.ServerPlatformBase
disableJTA, disableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getModuleName, getServerLog, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, unregisterMBean, unwrapOracleConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EASYBEANS_NAME

private static final java.lang.String EASYBEANS_NAME
Name of the server.

See Also:
Constant Field Values
Constructor Detail

EasyBeansServerPlatform

public EasyBeansServerPlatform(oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl newDatabaseSession)
Default constructor.

Parameters:
newDatabaseSession - 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 oracle.toplink.essentials.platform.server.ServerPlatform
Specified by:
getExternalTransactionControllerClass in class oracle.toplink.essentials.platform.server.ServerPlatformBase
Returns:
Class externalTransactionControllerClass
See Also:
JTATransactionController, ServerPlatformBase.isJTAEnabled(), ServerPlatformBase.disableJTA(), ServerPlatformBase.initializeExternalTransactionController()

getServerNameAndVersion

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

Specified by:
getServerNameAndVersion in interface oracle.toplink.essentials.platform.server.ServerPlatform
Overrides:
getServerNameAndVersion in class oracle.toplink.essentials.platform.server.ServerPlatformBase
Returns:
String serverNameAndVersion