All,
I have committed the intial set of classes to support JSR-160 in Spring
JMX. I created ConnectorServiceBean so that you can configure and a
start a remote connector in your application without creating any code.
The resultant connector can be exposed as a JMX mbean in the local
MBeanServer. For client access I modified the proxy classes to work with
MBeanServerConnection instead of MBeanServer (MBeanServer implement
MBeanServerConnection). This means the proxies can work with both local
and remote JMX resources. To add to the already existing
MBeanServerFactoryBean I created MBeanServerConnectionFactoryBean to
create a remote MBeanServerConnection. I modified the test suite
appropriately for the new classes and modifications.
Rob
|