|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.platform.server.ServerPlatformBase
org.eclipse.persistence.platform.server.was.WebSpherePlatform
public class WebSpherePlatform
PUBLIC: This is the concrete subclass responsible for representing WebSphere-specific server behavior. This platform has:
Field Summary | |
---|---|
protected java.lang.reflect.Method |
vendorConnectionMethod
Cached WAS util method used for unwrapping connections. |
protected java.lang.Class |
websphereConnectionClass
Cached WAS connection class used to reflectively check connections and unwrap them. |
protected java.lang.Class |
websphereUtilClass
Cached WAS util class used to reflectively check connections and unwrap them. |
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase |
---|
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, serverNameAndVersion |
Constructor Summary | |
---|---|
WebSpherePlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited |
Method Summary | |
---|---|
java.lang.Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebSphere. |
protected java.lang.reflect.Method |
getVendorConnectionMethod()
Return the method for the WebSphere JDBC connection wrapper vendorConnection. |
protected java.lang.Class |
getWebsphereConnectionClass()
Return the class (interface) for the WebSphere JDBC connection wrapper. |
protected java.lang.Class |
getWebsphereUtilClass()
Return the class (interface) for the WebSphere JDBC connection wrapper. |
java.sql.Connection |
unwrapConnection(java.sql.Connection connection)
Unwraps the WebSphere JDBC connection wrapping using the WebLogic API reflectively. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Class websphereConnectionClass
protected java.lang.Class websphereUtilClass
protected java.lang.reflect.Method vendorConnectionMethod
Constructor Detail |
---|
public WebSpherePlatform(DatabaseSession newDatabaseSession)
Method Detail |
---|
public java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
JTATransactionController
,
ServerPlatformBase.isJTAEnabled()
,
ServerPlatformBase.disableJTA()
,
ServerPlatformBase.initializeExternalTransactionController()
protected java.lang.Class getWebsphereUtilClass()
protected java.lang.Class getWebsphereConnectionClass()
protected java.lang.reflect.Method getVendorConnectionMethod()
public java.sql.Connection unwrapConnection(java.sql.Connection connection)
unwrapConnection
in interface ServerPlatform
unwrapConnection
in class ServerPlatformBase
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |