public class WebLogicPlatform extends JMXServerPlatformBase
This platform overrides:
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Method |
clearStatementCacheMethod
Cached WLConnection.clearStatementCache() Method used for
clearing statement cache.
|
protected boolean |
shouldClearStatementCache
Indicates whether WLConnection.clearStatementCache() should be called:
there is no need to call it in WebLogic Server 10.3.4 or later.
|
protected java.lang.reflect.Method |
vendorConnectionMethod
Cached WLConnection.getVendorConnection() Method used for
unwrapping connections.
|
protected java.lang.Class |
weblogicConnectionClass
Cached WLS connection class used to reflectively check connections and
unwrap them.
|
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
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize
Constructor and Description |
---|
WebLogicPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor
is inherited.
|
Modifier and Type | Method and Description |
---|---|
void |
clearStatementCache(java.sql.Connection connection)
INTERNAL:
Clears statement cache of WebLogic connection using the WebLogic API reflectively.
|
protected java.lang.reflect.Method |
getClearStatementCacheMethod()
Return the method for the WebLogic connection clearStatementCache method.
|
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.
|
getAbstractSession, getApplicationName, getApplicationName, getMBeanServer, getMBeanSessionName, getModuleName, getModuleName, getRuntimeServicesMBean, initializeApplicationNameAndModuleName, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setApplicationName, setModuleName, setRuntimeServicesMBean
configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getNewTempClassLoader, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, wasFailureCommunicationBased
protected java.lang.Class weblogicConnectionClass
protected java.lang.reflect.Method vendorConnectionMethod
protected java.lang.reflect.Method clearStatementCacheMethod
protected boolean shouldClearStatementCache
public WebLogicPlatform(DatabaseSession newDatabaseSession)
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
protected java.lang.reflect.Method getClearStatementCacheMethod()
public void clearStatementCache(java.sql.Connection connection)
clearStatementCache
in interface ServerPlatform
clearStatementCache
in class ServerPlatformBase