Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 453fb92d6c721c44972c507d292a1ef673d1f8e2 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/osgi  
       http://www.springframework.org/schema/osgi/spring-osgi.xsd
       http://www.springframework.org/schema/util 
       http://www.springframework.org/schema/util/spring-util-2.5.xsd
       http://www.springframework.org/schema/beans   
       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">


	<reference id="dumpGenerator" interface="org.eclipse.virgo.medic.dump.DumpGenerator"/>

	<reference id="eventLogger" interface="org.eclipse.virgo.medic.eventlog.EventLogger"/>
	
	<reference id="tracingService" interface="org.eclipse.virgo.kernel.shim.serviceability.TracingService" />

	<beans:bean id="exporter" class="org.eclipse.virgo.kernel.services.concurrent.management.JmxExecutorServiceExporter" destroy-method="destroy">
		<beans:constructor-arg value="${domain}"/>
	</beans:bean>

	<beans:bean id="deadlockMonitor" class="org.eclipse.virgo.kernel.services.concurrent.monitor.DeadlockMonitor" init-method="start" destroy-method="stop">
		<beans:constructor-arg>
			<beans:bean class="org.eclipse.virgo.kernel.services.concurrent.KernelScheduledThreadPoolExecutor">
				<beans:constructor-arg value="1"/>
				<beans:constructor-arg value="deadlock-monitor"/>
				<beans:constructor-arg ref="tracingService"/>
			</beans:bean>
		</beans:constructor-arg>
		<beans:constructor-arg ref="dumpGenerator"/>
		<beans:constructor-arg ref="eventLogger"/>
	</beans:bean>
</beans:beans>

Back to the top