## 类的使用
org.springframework.jmx.MBeanServerNotFoundException

- 使用MBeanServerNotFoundException的程序包
  程序包 | 说明
  --- | ---
  org.springframework.jmx.access | Provides support for accessing remote MBean resources.
  org.springframework.jmx.support | Contains support classes for connecting to local and remote `MBeanServer`s and for exposing an `MBeanServer` to remote clients.

- - ### org.springframework.jmx.access中MBeanServerNotFoundException的使用

    抛出MBeanServerNotFoundException的org.springframework.jmx.access中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | MBeanProxyFactoryBean.`afterPropertiesSet()` Checks that the `proxyInterface` has been specified and then generates the proxy for the target MBean.

  - ### org.springframework.jmx.support中MBeanServerNotFoundException的使用

    抛出MBeanServerNotFoundException的org.springframework.jmx.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | MBeanServerFactoryBean.`afterPropertiesSet()` Creates the `MBeanServer` instance.
    `void` | WebSphereMBeanServerFactoryBean.`afterPropertiesSet()`
    `static MBeanServer` | JmxUtils.`locateMBeanServer()` Attempt to find a locally running `MBeanServer`.
    `static MBeanServer` | JmxUtils.`locateMBeanServer(String agentId)` Attempt to find a locally running `MBeanServer`.
    `protected MBeanServer` | MBeanServerFactoryBean.`locateMBeanServer(String agentId)` Attempt to locate an existing `MBeanServer`.