public class WebLogicPlatform extends JMXServerPlatformBase
This platform overrides:
| Modifier and Type | Field and Description |
|---|---|
protected 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 Method |
vendorConnectionMethod
Cached WLConnection.getVendorConnection() Method used for
unwrapping connections.
|
protected 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_PROPERTYDEFAULT_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(Connection connection)
INTERNAL:
Clears statement cache of WebLogic connection using the WebLogic API reflectively.
|
protected Method |
getClearStatementCacheMethod()
Return the method for the WebLogic connection clearStatementCache method.
|
Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of
external transaction controller to use for WebLogic.
|
protected Method |
getVendorConnectionMethod()
Return the method for the WebLogic JDBC connection wrapper vendorConnection.
|
protected Class |
getWebLogicConnectionClass()
Return the class (interface) for the WebLogic JDBC connection wrapper.
|
void |
initializeServerNameAndVersion()
INTERNAL: Set the WLS version number through reflection.
|
boolean |
isJTA11()
INTERNAL:
Check whether JTA 1.1 API is available.
|
Connection |
unwrapConnection(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, setRuntimeServicesMBeanconfigureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getJNDIConnectorLookupType, getNewTempClassLoader, getPartitionID, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBasedprotected Class weblogicConnectionClass
protected Method vendorConnectionMethod
protected Method clearStatementCacheMethod
protected boolean shouldClearStatementCache
public WebLogicPlatform(DatabaseSession newDatabaseSession)
public void initializeServerNameAndVersion()
initializeServerNameAndVersion in class ServerPlatformBasepublic Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass in interface ServerPlatformgetExternalTransactionControllerClass in class ServerPlatformBaseJTATransactionController,
ServerPlatformBase.isJTAEnabled(),
ServerPlatformBase.disableJTA(),
ServerPlatformBase.initializeExternalTransactionController()protected Class getWebLogicConnectionClass()
protected Method getVendorConnectionMethod()
public Connection unwrapConnection(Connection connection)
unwrapConnection in interface ServerPlatformunwrapConnection in class ServerPlatformBaseprotected Method getClearStatementCacheMethod()
public void clearStatementCache(Connection connection)
clearStatementCache in interface ServerPlatformclearStatementCache in class ServerPlatformBasepublic boolean isJTA11()
isJTA11 in class ServerPlatformBasefalse for WLS older than 10.0.Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.