EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.platform.server.wls
Class WebLogicPlatform

java.lang.Object
  extended by org.eclipse.persistence.platform.server.ServerPlatformBase
      extended by org.eclipse.persistence.platform.server.wls.WebLogicPlatform
All Implemented Interfaces:
ServerPlatform
Direct Known Subclasses:
WebLogic_9_Platform

public class WebLogicPlatform
extends ServerPlatformBase

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 org.eclipse.persistence.platform.server.ServerPlatformBase
configureProfiler, disableJTA, disableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getModuleName, getNewTempClassLoader, getServerLog, getServerNameAndVersion, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, shouldUseDriverManager, unregisterMBean, wasFailureCommunicationBased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weblogicConnectionClass

protected java.lang.Class weblogicConnectionClass
Cached WLS connection class used to reflectively check connections and unwrap them.


vendorConnectionMethod

protected java.lang.reflect.Method vendorConnectionMethod
Cached WLConnection.getVendorConnectionMethod() Method used for unwrapping connections.

Constructor Detail

WebLogicPlatform

public WebLogicPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited.

Method Detail

initializeServerNameAndVersion

public void initializeServerNameAndVersion()
INTERNAL: Set the WLS version number through reflection.

Overrides:
initializeServerNameAndVersion in class ServerPlatformBase

getExternalTransactionControllerClass

public java.lang.Class getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for WebLogic. This is read-only.

Specified by:
getExternalTransactionControllerClass in interface ServerPlatform
Specified by:
getExternalTransactionControllerClass in class ServerPlatformBase
Returns:
Class externalTransactionControllerClass
See Also:
JTATransactionController, ServerPlatformBase.isJTAEnabled(), ServerPlatformBase.disableJTA(), ServerPlatformBase.initializeExternalTransactionController()

getWebLogicConnectionClass

protected java.lang.Class getWebLogicConnectionClass()
Return the class (interface) for the WebLogic JDBC connection wrapper.


getVendorConnectionMethod

protected java.lang.reflect.Method getVendorConnectionMethod()
Return the method for the WebLogic JDBC connection wrapper vendorConnection.


unwrapConnection

public java.sql.Connection unwrapConnection(java.sql.Connection connection)
Unwraps the WebLogic JDBC connection wrapping using the WebLogic API reflectively.

Specified by:
unwrapConnection in interface ServerPlatform
Overrides:
unwrapConnection in class ServerPlatformBase

EclipseLink1.0 - 20080707 API Reference