|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.platform.server.ServerPlatformBase org.eclipse.persistence.platform.server.wls.WebLogicPlatform
public class WebLogicPlatform
PUBLIC: This is the concrete subclass responsible for representing WebLogic-specific server behavior.
This platform overrides:
Field Summary | |
---|---|
protected java.lang.reflect.Method |
vendorConnectionMethod
Cached WLConnection.getVendorConnectionMethod() Method used for unwrapping connections. |
protected java.lang.Class |
weblogicConnectionClass
Cached WLS connection class used to reflectively check connections and unwrap them. |
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase |
---|
externalTransactionControllerClass, serverNameAndVersion |
Constructor Summary | |
---|---|
WebLogicPlatform(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 WebLogic. |
protected java.lang.reflect.Method |
getVendorConnectionMethod()
Return the method for the WebLogic JDBC connection wrapper vendorConnection. |
protected java.lang.Class |
getWebLogicConnectionClass()
Return the class (interface) for the WebLogic JDBC connection wrapper. |
void |
initializeServerNameAndVersion()
INTERNAL: Set the WLS version number through reflection. |
java.sql.Connection |
unwrapConnection(java.sql.Connection connection)
Unwraps the WebLogic 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 weblogicConnectionClass
protected java.lang.reflect.Method vendorConnectionMethod
Constructor Detail |
---|
public WebLogicPlatform(DatabaseSession newDatabaseSession)
Method Detail |
---|
public void initializeServerNameAndVersion()
initializeServerNameAndVersion
in class ServerPlatformBase
public java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
JTATransactionController
,
ServerPlatformBase.isJTAEnabled()
,
ServerPlatformBase.disableJTA()
,
ServerPlatformBase.initializeExternalTransactionController()
protected java.lang.Class getWebLogicConnectionClass()
protected java.lang.reflect.Method getVendorConnectionMethod()
public java.sql.Connection unwrapConnection(java.sql.Connection connection)
unwrapConnection
in interface ServerPlatform
unwrapConnection
in class ServerPlatformBase
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |