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:
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
Modifier and TypeFieldDescriptionprotected Method
Cached WAS util method used for unwrapping connections.protected Class
Cached WAS connection class used to reflectively check connections and unwrap them.protected Class
Cached WAS util class used to reflectively check connections and unwrap them.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
ConstructorDescriptionWebSpherePlatform
(DatabaseSession newDatabaseSession) INTERNAL: Default Constructor: All behavior for the default constructor is inherited -
Method Summary
Modifier and TypeMethodDescriptionINTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere.int
INTERNAL: Get JNDIConnector lookupType value for this platform.protected Method
Return the method for the WebSphere JDBC connection wrapper vendorConnection.protected Class
Return the class (interface) for the WebSphere JDBC connection wrapper.protected Class
Return the class (interface) for the WebSphere JDBC connection wrapper.unwrapConnection
(Connection connection) Unwraps the WebSphere JDBC connection wrapping using the WebLogic API reflectively.Methods inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase
getAbstractSession, getApplicationName, getApplicationName, getMBeanServer, getMBeanSessionName, getModuleName, getModuleName, getRuntimeServicesMBean, initializeApplicationNameAndModuleName, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setApplicationName, setModuleName, setRuntimeServicesMBean
Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getNewTempClassLoader, getPartitionID, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTA11, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBased
-
Field Details
-
websphereConnectionClass
Cached WAS connection class used to reflectively check connections and unwrap them. -
websphereUtilClass
Cached WAS util class used to reflectively check connections and unwrap them. -
vendorConnectionMethod
Cached WAS util method used for unwrapping connections.
-
-
Constructor Details
-
WebSpherePlatform
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
-
Method Details
-
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:
-
getWebsphereUtilClass
Return the class (interface) for the WebSphere JDBC connection wrapper. -
getWebsphereConnectionClass
Return the class (interface) for the WebSphere JDBC connection wrapper. -
getVendorConnectionMethod
Return the method for the WebSphere JDBC connection wrapper vendorConnection. -
unwrapConnection
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.
-