|
|
|
@ -77,7 +77,7 @@ public class JmxTestBean implements IJmxTestBean { |
|
|
|
public void setAge(int age) { |
|
|
|
public void setAge(int age) { |
|
|
|
this.age = age; |
|
|
|
this.age = age; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setName(String name) { |
|
|
|
public void setName(String name) { |
|
|
|
this.name = name; |
|
|
|
this.name = name; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -213,7 +213,7 @@ public class JmxTestBean implements IJmxTestBean { |
|
|
|
]]><lineannotation><!-- search for the <interfacename>MBeanServer</interfacename> instance with the given agentId --></lineannotation><![CDATA[ |
|
|
|
]]><lineannotation><!-- search for the <interfacename>MBeanServer</interfacename> instance with the given agentId --></lineannotation><![CDATA[ |
|
|
|
<property name="agentId" value="]]><emphasis><![CDATA[<MBeanServer instance agentId>]]></emphasis><![CDATA["/> |
|
|
|
<property name="agentId" value="]]><emphasis><![CDATA[<MBeanServer instance agentId>]]></emphasis><![CDATA["/> |
|
|
|
</bean> |
|
|
|
</bean> |
|
|
|
|
|
|
|
|
|
|
|
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter"> |
|
|
|
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter"> |
|
|
|
<property name="server" ref="mbeanServer"/> |
|
|
|
<property name="server" ref="mbeanServer"/> |
|
|
|
... |
|
|
|
... |
|
|
|
@ -230,9 +230,9 @@ public class JmxTestBean implements IJmxTestBean { |
|
|
|
]]><lineannotation><!-- Custom <literal>MBeanServerLocator</literal> --></lineannotation><![CDATA[ |
|
|
|
]]><lineannotation><!-- Custom <literal>MBeanServerLocator</literal> --></lineannotation><![CDATA[ |
|
|
|
<bean class="platform.package.MBeanServerLocator" factory-method="locateMBeanServer"/> |
|
|
|
<bean class="platform.package.MBeanServerLocator" factory-method="locateMBeanServer"/> |
|
|
|
</property> |
|
|
|
</property> |
|
|
|
|
|
|
|
|
|
|
|
]]><lineannotation><!-- other beans here --></lineannotation><![CDATA[ |
|
|
|
]]><lineannotation><!-- other beans here --></lineannotation><![CDATA[ |
|
|
|
|
|
|
|
|
|
|
|
</bean> |
|
|
|
</bean> |
|
|
|
</beans>]]></programlisting> |
|
|
|
</beans>]]></programlisting> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
@ -1058,7 +1058,7 @@ public class AnnotationTestBean implements IJmxTestBean { |
|
|
|
</bean> |
|
|
|
</bean> |
|
|
|
|
|
|
|
|
|
|
|
<bean id="attributeSource" |
|
|
|
<bean id="attributeSource" |
|
|
|
class="org.springframework.jmx.export.metadata.AttributesJmxAttributeSource"/> |
|
|
|
class="org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource"/> |
|
|
|
|
|
|
|
|
|
|
|
</beans>]]></programlisting> |
|
|
|
</beans>]]></programlisting> |
|
|
|
|
|
|
|
|
|
|
|
|