public class WebLogic_10_Platform extends WebLogic_9_Platform implements JMXEnabledPlatform
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SERVER_SPECIFIC_APPLICATIONNAME_PROPERTY
This persistence.xml or sessions.xml property is used to override the applicationName
|
protected static String |
SERVER_SPECIFIC_MODULENAME_PROPERTY
This persistence.xml or sessions.xml property is used to override the moduleName
|
clearStatementCacheMethod, shouldClearStatementCache, vendorConnectionMethod, weblogicConnectionClassAPP_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 |
|---|
WebLogic_10_Platform(DatabaseSession newDatabaseSession)
INTERNAL:
Default Constructor: All behavior for the default constructor is inherited
|
| Modifier and Type | Method and Description |
|---|---|
Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of
external transaction controller to use for WebLogic.
|
MBeanServer |
getMBeanServer()
INTERNAL:
Return the MBeanServer to be used for MBean registration and deregistration.
This MBeanServer reference is lazy loaded and cached on the platform. There are multiple ways of getting the MBeanServer |
protected Method |
getVendorConnectionMethod()
Return the method for the WebLogic JDBC connection wrapper vendorConnection.
|
protected void |
initializeApplicationNameAndModuleName()
Deprecated.
|
boolean |
isJTA11()
INTERNAL:
Check whether JTA 1.1 API is available.
|
boolean |
isRuntimeServicesEnabledDefault()
INTERNAL:
isRuntimeServicesEnabledDefault(): Answer true if the JMX/MBean providing runtime services for
the receiver's DatabaseSession will be deployed at runtime.
|
void |
prepareServerSpecificServicesMBean()
INTERNAL:
prepareServerSpecificServicesMBean(): Server specific implementation of the
creation and deployment of the JMX MBean to provide runtime services for the
databaseSession.
|
void |
serverSpecificRegisterMBean()
INTERNAL:
serverSpecificRegisterMBean(): Server specific implementation of the
creation and deployment of the JMX MBean to provide runtime services for my
databaseSession.
|
clearStatementCache, getClearStatementCacheMethod, getWebLogicConnectionClass, initializeServerNameAndVersion, unwrapConnectiongetAbstractSession, getApplicationName, getApplicationName, getMBeanSessionName, getModuleName, getModuleName, getRuntimeServicesMBean, serverSpecificUnregisterMBean, setApplicationName, setModuleName, setRuntimeServicesMBeanconfigureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getJNDIConnectorLookupType, getNewTempClassLoader, getPartitionID, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBasedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationNameprotected static final String SERVER_SPECIFIC_MODULENAME_PROPERTY
protected static final String SERVER_SPECIFIC_APPLICATIONNAME_PROPERTY
public WebLogic_10_Platform(DatabaseSession newDatabaseSession)
public boolean isRuntimeServicesEnabledDefault()
ServerPlatformBaseServerPlatformBase.isRuntimeServicesEnabled() for a
ServerPlatform. By default this is false but some platforms
can choose to have MBeans deployed by default.isRuntimeServicesEnabledDefault in interface ServerPlatformisRuntimeServicesEnabledDefault in class ServerPlatformBasepublic void prepareServerSpecificServicesMBean()
public void serverSpecificRegisterMBean()
public MBeanServer getMBeanServer()
1) MBeanServerFactory static function - working for 3 of 4 servers WebSphere, JBoss and Glassfish in a generic way
- JBoss returns 2 MBeanServers in the List - but one of them has a null domain - we don't use that one
- WebLogic may return 2 MBeanServers - in that case we want to register with the one containing the "com.bea" tree
2) ManagementFactory static function - what is the difference in using this one over the one returning a List of servers
3) JNDI lookup
4) Direct server specific native API
getMBeanServer in class JMXServerPlatformBase@Deprecated protected void initializeApplicationNameAndModuleName()
initializeApplicationNameAndModuleName in class JMXServerPlatformBaseprotected Method getVendorConnectionMethod()
getVendorConnectionMethod in class WebLogicPlatformpublic boolean isJTA11()
isJTA11 in class WebLogicPlatformtrue for WLS 10.0 and later.public Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass in interface ServerPlatformgetExternalTransactionControllerClass in class WebLogicPlatformJTA11TransactionController,
ServerPlatformBase.isJTAEnabled(),
ServerPlatformBase.disableJTA(),
ServerPlatformBase.initializeExternalTransactionController()Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.