Top Description Fields Constructors Methods
org.eclipse.persistence.platform.server.was

public Class WebSpherePlatform

extends JMXServerPlatformBase
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.platform.server.was.WebSphere_6_1_Platform
Imports
java.lang.reflect.InvocationTargetException, .Method, java.sql.Connection, org.eclipse.persistence.internal.security.PrivilegedAccessHelper, org.eclipse.persistence.logging.SessionLog, org.eclipse.persistence.platform.server.JMXServerPlatformBase, org.eclipse.persistence.sessions.DatabaseSession, .ExternalTransactionController, .JNDIConnector, org.eclipse.persistence.transaction.was.WebSphereTransactionController

PUBLIC: This is the concrete subclass responsible for representing WebSphere-specific server behavior. This platform has:

Field Summary

Modifier and TypeField and Description
protected Method
vendorConnectionMethod

Cached WAS util method used for unwrapping connections.

protected Class<?>
websphereConnectionClass

Cached WAS connection class used to reflectively check connections and unwrap them.

protected Class<?>
websphereUtilClass

Cached WAS util class used to reflectively check connections and unwrap them.

Inherited from org.eclipse.persistence.platform.server.JMXServerPlatformBase:
APP_SERVER_CLASSLOADER_APPLICATION_PU_SEARCH_STRING_POSTFIXAPP_SERVER_CLASSLOADER_APPLICATION_PU_SEARCH_STRING_PREFIXAPP_SERVER_CLASSLOADER_MODULE_EJB_SEARCH_STRING_PREFIXAPP_SERVER_CLASSLOADER_MODULE_EJB_WAR_SEARCH_STRING_POSTFIXAPP_SERVER_CLASSLOADER_MODULE_WAR_SEARCH_STRING_PREFIXJMX_MBEANSERVER_INDEX_DEFAULT_FOR_MULTIPLE_SERVERSJMX_REGISTRATION_PREFIXmBeanServerOVERRIDE_JMX_APPLICATIONNAME_PROPERTYOVERRIDE_JMX_MODULENAME_PROPERTY

Constructor Summary

AccessConstructor and Description
public
WebSpherePlatform(DatabaseSession newDatabaseSession)

INTERNAL: Default Constructor: All behavior for the default constructor is inherited

Method Summary

Modifier and TypeMethod and Description
public Class<? extends ExternalTransactionController>

Returns:

Class externalTransactionControllerClass
getExternalTransactionControllerClass
()

Implements abstract org.eclipse.persistence.platform.server.ServerPlatformBase.getExternalTransactionControllerClass.

Implements org.eclipse.persistence.platform.server.ServerPlatform.getExternalTransactionControllerClass.

INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere.
public int
protected Method
getVendorConnectionMethod()

Return the method for the WebSphere JDBC connection wrapper vendorConnection.

protected Class<?>
getWebsphereConnectionClass()

Return the class (interface) for the WebSphere JDBC connection wrapper.

protected Class<?>
getWebsphereUtilClass()

Return the class (interface) for the WebSphere JDBC connection wrapper.

public Connection
unwrapConnection(Connection connection)

Overrides org.eclipse.persistence.platform.server.ServerPlatformBase.unwrapConnection.

Implements org.eclipse.persistence.platform.server.ServerPlatform.unwrapConnection.

Unwraps the WebSphere JDBC connection wrapping using the WebLogic API reflectively.
Inherited from org.eclipse.persistence.platform.server.JMXServerPlatformBase:
getAbstractSessiongetApplicationNamegetApplicationNamegetMBeanServergetMBeanSessionNamegetModuleNamegetModuleNamegetRuntimeServicesMBeaninitializeApplicationNameAndModuleNameserverSpecificRegisterMBeanserverSpecificUnregisterMBeansetApplicationNamesetModuleNamesetRuntimeServicesMBean

Field Detail

vendorConnectionMethodback to summary
protected Method vendorConnectionMethod

Cached WAS util method used for unwrapping connections.

websphereConnectionClassback to summary
protected Class<?> websphereConnectionClass

Cached WAS connection class used to reflectively check connections and unwrap them.

websphereUtilClassback to summary
protected Class<?> websphereUtilClass

Cached WAS util class used to reflectively check connections and unwrap them.

Constructor Detail

WebSpherePlatformback to summary
public WebSpherePlatform(DatabaseSession newDatabaseSession)

INTERNAL: Default Constructor: All behavior for the default constructor is inherited

Method Detail

getExternalTransactionControllerClassback to summary
public Class<? extends ExternalTransactionController> getExternalTransactionControllerClass()

Implements abstract org.eclipse.persistence.platform.server.ServerPlatformBase.getExternalTransactionControllerClass.

Implements org.eclipse.persistence.platform.server.ServerPlatform.getExternalTransactionControllerClass.

INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere. This is read-only.

Returns:Class<? extends ExternalTransactionController>

Class externalTransactionControllerClass

Annotations
@Override
See Also
org.eclipse.persistence.transaction.JTATransactionController, org.eclipse.persistence.platform.server.ServerPlatformBase#isJTAEnabled(), org.eclipse.persistence.platform.server.ServerPlatformBase#disableJTA(), org.eclipse.persistence.platform.server.ServerPlatformBase#initializeExternalTransactionController()
getJNDIConnectorLookupTypeback to summary
public int getJNDIConnectorLookupType()

Overrides org.eclipse.persistence.platform.server.ServerPlatformBase.getJNDIConnectorLookupType.

Implements org.eclipse.persistence.platform.server.ServerPlatform.getJNDIConnectorLookupType.

Doc from org.eclipse.persistence.platform.server.ServerPlatform.getJNDIConnectorLookupType.

INTERNAL: Get JNDIConnector lookupType value for this platform.

Returns:int

Doc from org.eclipse.persistence.platform.server.ServerPlatformBase.getJNDIConnectorLookupType.

Return JNDIConnector.COMPOSITE_NAME_LOOKUP.

Annotations
@Override
getVendorConnectionMethodback to summary
protected Method getVendorConnectionMethod()

Return the method for the WebSphere JDBC connection wrapper vendorConnection.

getWebsphereConnectionClassback to summary
protected Class<?> getWebsphereConnectionClass()

Return the class (interface) for the WebSphere JDBC connection wrapper.

getWebsphereUtilClassback to summary
protected Class<?> getWebsphereUtilClass()

Return the class (interface) for the WebSphere JDBC connection wrapper.

unwrapConnectionback to summary
public Connection unwrapConnection(Connection connection)

Overrides org.eclipse.persistence.platform.server.ServerPlatformBase.unwrapConnection.

Implements org.eclipse.persistence.platform.server.ServerPlatform.unwrapConnection.

Unwraps the WebSphere JDBC connection wrapping using the WebLogic API reflectively.

Annotations
@Override