java.lang.Objectorg.springframework.jmx.support.MBeanServerFactoryBean
All Implemented Interfaces:
DisposableBean, InitializingBean, FactoryBean
MBeanServer for bean references.
By default, MBeanServerFactoryBean will always create
a new MBeanServer even if one is already running. To have
the MBeanServerFactoryBean attempt to locate a running
MBeanServer first, set the value of the
"locateExistingServerIfPossible" property to "true".
Rob - HarropJuergen - Hoeller1.2 - | Field Summary | ||
|---|---|---|
| protected final Log | logger | |
| Method from org.springframework.jmx.support.MBeanServerFactoryBean Summary: |
|---|
| afterPropertiesSet, createMBeanServer, destroy, getObject, getObjectType, isSingleton, locateMBeanServer, setAgentId, setDefaultDomain, setLocateExistingServerIfPossible, setRegisterWithFactory |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.jmx.support.MBeanServerFactoryBean Detail: |
|---|
MBeanServer instance. |
MBeanServer instance and register it with the
MBeanServerFactory, if desired. |
MBeanServer instance, if necessary. |
|
|
|
MBeanServer.
Called if locateExistingServerIfPossible is set to true.
The default implementation attempts to find an |
MBeanServer to locate.
Default is none. If specified, this will result in an automatic attempt being made to locate the attendant MBeanServer, and (importantly) if said MBeanServer cannot be located no attempt will be made to create a new MBeanServer (and an MBeanServerNotFoundException will be thrown at resolution time). |
MBeanServer,
to be passed to MBeanServerFactory.createMBeanServer()
or MBeanServerFactory.findMBeanServer() |
MBeanServerFactoryBean should attempt
to locate a running MBeanServer before creating one.
Default is |
MBeanServer with the
MBeanServerFactory, making it available through
MBeanServerFactory.findMBeanServer() |