blob: cbc7b037a4c8f8f2f7259a6abbc8b876e6a639ab [file] [log] [blame]
Clement Escoffier105b5ff2010-10-16 08:55:49 +00001<?xml version="1.0" encoding="UTF-8"?>
2<ipojo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd"
4 xmlns="org.apache.felix.ipojo"
5 xmlns:jmx="org.apache.felix.ipojo.handlers.jmx">
6
7 <!-- The simple managed component without annotations and with brand new JMX handler syntax -->
8 <component classname="org.apache.felix.ipojo.test.component.SimpleManagedComponent" immediate="true">
9 <!-- Expose field and methods with JMX handler -->
10 <jmx:config>
11 <jmx:jmxmethod name="getIntegerValue" description="Get the value of the integer"/>
12 <jmx:jmxmethod name="setIntegerValue" description="Set the value of the integer"/>
13 <jmx:jmxproperty name="integer" field="m_integer" rights="r" notification="true"/>
14 </jmx:config>
15 </component>
16
17 <!-- The simple managed component without annotations and with brand new JMX handler syntax -->
18 <component classname="org.apache.felix.ipojo.test.component.SimpleManagedComponent" immediate="true" name="org.apache.felix.ipojo.test.component.SimpleManagedComponentDeprecated">
19 <!-- Expose field and methods with JMX handler -->
20 <jmx:config>
21 <jmx:method name="getIntegerValue" description="Get the value of the integer"/>
22 <jmx:method name="setIntegerValue" description="Set the value of the integer"/>
23 <jmx:property name="integer" field="m_integer" rights="r" notification="true"/>
24 </jmx:config>
25 </component>
26
27</ipojo>