summaryrefslogtreecommitdiffstats
path: root/sandbox/old/contrib/binding-celtix/samples/helloworldws-celtix/server.xml
blob: 94c9efe89709ab8287a5e7615da72cda91cffb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans SYSTEM 
     "http://celtix.objectweb.org/configuration/spring/celtix-spring-beans.dtd">

<beans
    xmlns:ct="http://celtix.objectweb.org/configuration/types"
    xmlns:sec="http://celtix.objectweb.org/bus/configuration/security"
    xmlns:im-conf="http://celtix.objectweb.org/bus/instrumentation/instrumentation-config"
    xmlns:im="http://celtix.objectweb.org/bus/instrumentation"
>

    <bean id="celtix.Instrumentation"
          class="org.objectweb.celtix.bus.instrumentation.instrumentation_config.spring.InstrumentationConfigBean">
        <property name="instrumentationControl">
            <value>
                <im:instrumentation>
                    <im:InstrumentationEnabled>true</im:InstrumentationEnabled>
                    <im:JMXEnabled>true</im:JMXEnabled>
                </im:instrumentation>
            </value>
        </property>
        <property name="MBServer">
            <value>
                <im:MBServer>
                    <im:JMXConnector>
                        <im:Threaded>true</im:Threaded>
                        <im:Daemon>false</im:Daemon>
                        <im:JMXServiceURL>service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/server</im:JMXServiceURL>
                    </im:JMXConnector>
                </im:MBServer>
            </value>
        </property>
    </bean>
</beans>