FactoryBean that obtains a specified WebLogic
javax.management.MBeanServer reference through a WebLogic MBeanHome obtained via a JNDI lookup.
By default, the server's local MBeanHome will be obtained.
Exposes the MBeanServer for bean references.
This FactoryBean is a direct alternative to
MBeanServerFactoryBean ,
which uses standard JMX 1.2 API to access the platform's MBeanServer.
Note: There is also a more general
WebLogicMBeanServerFactoryBean for accessing any specified WebLogic MBeanServer ,
potentially a remote one.
NOTE: This class is only intended for use with WebLogic 8.1.
On WebLogic 9.x, simply obtain the MBeanServer directly from the JNDI location
"java:comp/env/jmx/runtime", for example through the following configuration:
<bean class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:comp/env/jmx/runtime"/>
</bean>
author: Rob Harrop author: Juergen Hoeller since: 1.2.6 See Also: weblogic.management.MBeanHome.LOCAL_JNDI_NAME See Also: weblogic.management.MBeanHome.getMBeanServer See Also: javax.management.MBeanServer See Also: MBeanServerFactoryBean See Also: WebLogicMBeanServerFactoryBean |