Class WebLogic_10_Platform

    • Field Detail

      • SERVER_SPECIFIC_MODULENAME_PROPERTY

        protected static final java.lang.String SERVER_SPECIFIC_MODULENAME_PROPERTY
        This persistence.xml or sessions.xml property is used to override the moduleName
        See Also:
        Constant Field Values
      • SERVER_SPECIFIC_APPLICATIONNAME_PROPERTY

        protected static final java.lang.String SERVER_SPECIFIC_APPLICATIONNAME_PROPERTY
        This persistence.xml or sessions.xml property is used to override the applicationName
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebLogic_10_Platform

        public WebLogic_10_Platform​(DatabaseSession newDatabaseSession)
        INTERNAL: Default Constructor: All behavior for the default constructor is inherited
    • Method Detail

      • getMBeanServer

        public javax.management.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

        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

        We are using method (3)
        Overrides:
        getMBeanServer in class JMXServerPlatformBase
        Returns:
        the JMX specification MBeanServer
      • getVendorConnectionMethod

        protected java.lang.reflect.Method getVendorConnectionMethod()
        Return the method for the WebLogic JDBC connection wrapper vendorConnection. WLS 10.3.4.0 added a getVendorConnectionSafe that does not invalidate the connection, so use this if available.
        Overrides:
        getVendorConnectionMethod in class WebLogicPlatform