Module eclipselink
Class WebSphere_Liberty_Platform
- java.lang.Object
-
- org.eclipse.persistence.platform.server.ServerPlatformBase
-
- org.eclipse.persistence.platform.server.JMXServerPlatformBase
-
- org.eclipse.persistence.platform.server.was.WebSpherePlatform
-
- org.eclipse.persistence.platform.server.was.WebSphere_6_1_Platform
-
- org.eclipse.persistence.platform.server.was.WebSphere_7_Platform
-
- org.eclipse.persistence.platform.server.was.WebSphere_Liberty_Platform
-
- All Implemented Interfaces:
JMXEnabledPlatform
,ServerPlatform
public class WebSphere_Liberty_Platform extends WebSphere_7_Platform
PUBLIC: This is the concrete subclass responsible for representing WebSphere-specific server behavior. This platform has:- WebSphereLibertyTransactionController (JTA integration).
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.platform.server.was.WebSphere_7_Platform
SERVER_LOG_CLASS
-
Fields inherited from class org.eclipse.persistence.platform.server.was.WebSpherePlatform
vendorConnectionMethod, websphereConnectionClass, websphereUtilClass
-
Fields inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase
APP_SERVER_CLASSLOADER_APPLICATION_PU_SEARCH_STRING_POSTFIX, APP_SERVER_CLASSLOADER_APPLICATION_PU_SEARCH_STRING_PREFIX, APP_SERVER_CLASSLOADER_MODULE_EJB_SEARCH_STRING_PREFIX, APP_SERVER_CLASSLOADER_MODULE_EJB_WAR_SEARCH_STRING_POSTFIX, APP_SERVER_CLASSLOADER_MODULE_WAR_SEARCH_STRING_PREFIX, JMX_MBEANSERVER_INDEX_DEFAULT_FOR_MULTIPLE_SERVERS, JMX_REGISTRATION_PREFIX, mBeanServer, OVERRIDE_JMX_APPLICATIONNAME_PROPERTY, OVERRIDE_JMX_MODULENAME_PROPERTY
-
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, threadPool, threadPoolSize
-
-
Constructor Summary
Constructors Constructor Description WebSphere_Liberty_Platform(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<? extends ExternalTransactionController>
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere Liberty.Connection
unwrapConnection(Connection connection)
This method overrides functionality exposed in the base WebSpherePlatform as Liberty doesn't provide the same support.-
Methods inherited from class org.eclipse.persistence.platform.server.was.WebSphere_7_Platform
createSessionLog, getServerLog, isRuntimeServicesEnabledDefault, prepareServerSpecificServicesMBean, serverSpecificRegisterMBean
-
Methods inherited from class org.eclipse.persistence.platform.server.was.WebSpherePlatform
getJNDIConnectorLookupType, getVendorConnectionMethod, getWebsphereConnectionClass, getWebsphereUtilClass
-
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 org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getNewTempClassLoader, getPartitionID, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTA11, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBased
-
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
-
WebSphere_Liberty_Platform
public WebSphere_Liberty_Platform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
-
Method Detail
-
getExternalTransactionControllerClass
public Class<? extends ExternalTransactionController> getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere Liberty. This is read-only.- Specified by:
getExternalTransactionControllerClass
in interfaceServerPlatform
- Overrides:
getExternalTransactionControllerClass
in classWebSpherePlatform
- Returns:
- Class externalTransactionControllerClass
- See Also:
JTATransactionController
,ServerPlatformBase.isJTAEnabled()
,ServerPlatformBase.disableJTA()
,ServerPlatformBase.initializeExternalTransactionController()
-
unwrapConnection
public Connection unwrapConnection(Connection connection)
This method overrides functionality exposed in the base WebSpherePlatform as Liberty doesn't provide the same support.- Specified by:
unwrapConnection
in interfaceServerPlatform
- Overrides:
unwrapConnection
in classWebSpherePlatform
-
-