<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter" lazy-init="false"> <property name="beans"> <map> <entry key="bean:name=testBean1" value-ref="testBean"/> </map> </property> </bean>
<bean id="testBean" class="com.joe.spring.jmx.JmxTestBean"> <property name="name" value="TEST"/> <property name="age" value="100"/> </bean>
Powered by: BlogJava Copyright © 疯狂