|
EclipseLink 2.4.2, build 'v20130514-5956486' 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.JMXServerPlatformBase org.eclipse.persistence.platform.server.wls.WebLogicPlatform org.eclipse.persistence.platform.server.wls.WebLogic_9_Platform org.eclipse.persistence.platform.server.wls.WebLogic_10_Platform
public class WebLogic_10_Platform
PUBLIC: This is the concrete subclass responsible for representing WebLogic 10 specific behavior. This includes WebLogic 10.3 behavior.
Field Summary | |
---|---|
protected static java.lang.String |
SERVER_SPECIFIC_APPLICATIONNAME_PROPERTY
This persistence.xml or sessions.xml property is used to override the applicationName |
protected static java.lang.String |
SERVER_SPECIFIC_MODULENAME_PROPERTY
This persistence.xml or sessions.xml property is used to override the moduleName |
Fields inherited from class org.eclipse.persistence.platform.server.wls.WebLogicPlatform |
---|
clearStatementCacheMethod, shouldClearStatementCache, vendorConnectionMethod, weblogicConnectionClass |
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase |
---|
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize |
Constructor Summary | |
---|---|
WebLogic_10_Platform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited |
Method Summary | |
---|---|
javax.management.MBeanServer |
getMBeanServer()
INTERNAL: Return the MBeanServer to be used for MBean registration and deregistration. |
protected java.lang.reflect.Method |
getVendorConnectionMethod()
Return the method for the WebLogic JDBC connection wrapper vendorConnection. |
protected void |
initializeApplicationNameAndModuleName()
Deprecated. |
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. |
Methods inherited from class org.eclipse.persistence.platform.server.wls.WebLogicPlatform |
---|
clearStatementCache, getClearStatementCacheMethod, getExternalTransactionControllerClass, getWebLogicConnectionClass, initializeServerNameAndVersion, unwrapConnection |
Methods inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase |
---|
getAbstractSession, getApplicationName, getApplicationName, getMBeanSessionName, getModuleName, getModuleName, getRuntimeServicesMBean, serverSpecificUnregisterMBean, setApplicationName, setModuleName, setRuntimeServicesMBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.platform.server.JMXEnabledPlatform |
---|
getApplicationName |
Field Detail |
---|
protected static final java.lang.String SERVER_SPECIFIC_MODULENAME_PROPERTY
protected static final java.lang.String SERVER_SPECIFIC_APPLICATIONNAME_PROPERTY
Constructor Detail |
---|
public WebLogic_10_Platform(DatabaseSession newDatabaseSession)
Method Detail |
---|
public boolean isRuntimeServicesEnabledDefault()
ServerPlatformBase
ServerPlatformBase.isRuntimeServicesEnabled()
for a
ServerPlatform. By default this is false
but some platforms
can choose to have MBeans deployed by default.
isRuntimeServicesEnabledDefault
in interface ServerPlatform
isRuntimeServicesEnabledDefault
in class ServerPlatformBase
public void prepareServerSpecificServicesMBean()
prepareServerSpecificServicesMBean
in interface JMXEnabledPlatform
ServerPlatformBase.isRuntimeServicesEnabled()
,
ServerPlatformBase.disableRuntimeServices()
,
ServerPlatformBase.registerMBean()
public void serverSpecificRegisterMBean()
serverSpecificRegisterMBean
in class JMXServerPlatformBase
ServerPlatformBase.isRuntimeServicesEnabled()
,
ServerPlatformBase.disableRuntimeServices()
,
ServerPlatformBase.registerMBean()
public javax.management.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
protected void initializeApplicationNameAndModuleName()
initializeApplicationNameAndModuleName
in class JMXServerPlatformBase
protected java.lang.reflect.Method getVendorConnectionMethod()
getVendorConnectionMethod
in class WebLogicPlatform
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |