Class WebSpherePlatform
- java.lang.Object
-
- org.eclipse.persistence.platform.server.ServerPlatformBase
-
- org.eclipse.persistence.platform.server.JMXServerPlatformBase
-
- org.eclipse.persistence.platform.server.was.WebSpherePlatform
-
- All Implemented Interfaces:
ServerPlatform
- Direct Known Subclasses:
WebSphere_6_1_Platform
public class WebSpherePlatform extends JMXServerPlatformBase
PUBLIC: This is the concrete subclass responsible for representing WebSphere-specific server behavior. This platform has:- WebSphereTransactionController (JTA integration).
- DataSource connection unwrapping (Oracle JDBC API support)
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase
JMX_MBEANSERVER_INDEX_DEFAULT_FOR_MULTIPLE_SERVERS, JMX_REGISTRATION_PREFIX
-
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description WebSpherePlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere.int
getJNDIConnectorLookupType()
INTERNAL: Get JNDIConnector lookupType value for this platform.Connection
unwrapConnection(Connection connection)
Unwraps the WebSphere JDBC connection wrapping using the WebLogic API reflectively.-
Methods inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase
getApplicationName, getMBeanServer, getModuleName, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setApplicationName
-
Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, getDatabaseSession, getNewTempClassLoader, getPartitionID, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBased
-
-
-
-
Constructor Detail
-
WebSpherePlatform
public WebSpherePlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
-
Method Detail
-
getExternalTransactionControllerClass
public Class getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere. This is read-only.- Specified by:
getExternalTransactionControllerClass
in interfaceServerPlatform
- Specified by:
getExternalTransactionControllerClass
in classServerPlatformBase
- Returns:
- Class externalTransactionControllerClass
- See Also:
JTATransactionController
,ServerPlatformBase.isJTAEnabled()
,ServerPlatformBase.disableJTA()
,ServerPlatformBase.initializeExternalTransactionController()
-
unwrapConnection
public Connection unwrapConnection(Connection connection)
Unwraps the WebSphere JDBC connection wrapping using the WebLogic API reflectively.- Specified by:
unwrapConnection
in interfaceServerPlatform
- Overrides:
unwrapConnection
in classServerPlatformBase
-
getJNDIConnectorLookupType
public int getJNDIConnectorLookupType()
Description copied from interface:ServerPlatform
INTERNAL: Get JNDIConnector lookupType value for this platform.- Specified by:
getJNDIConnectorLookupType
in interfaceServerPlatform
- Overrides:
getJNDIConnectorLookupType
in classServerPlatformBase
- Returns:
- Return JNDIConnector.COMPOSITE_NAME_LOOKUP.
-
-