Repository navigation
Expand file tree
/
Copy pathTransactionConfiguration.xml
More file actions
43 lines (40 loc) · 1.61 KB
/
Copy pathTransactionConfiguration.xml
File metadata and controls
43 lines (40 loc) · 1.61 KB
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
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:component-scan base-package="org.tron"/>
<bean id="creatorCounter" class="org.tron.stresstest.dispatch.creator.CreatorCounter"></bean>
<bean id="dispatcher" class="org.tron.stresstest.dispatch.strategy.Dispatcher">
<property name="source">
<list>
<ref bean="mutil"/>
</list>
</property>
</bean>
<bean id="level1Strategy" class="org.tron.stresstest.dispatch.strategy.Level1Strategy"/>
<bean id="mutil" parent="level1Strategy">
<property name="name" value="mutil"/>
<property name="begin" value="0"/>
<property name="end" value="99"/>
<property name="source">
<list>
<ref bean="withdrawTrx"/>
<ref bean="withdrawTrc10"/>
</list>
</property>
</bean>
<bean id="withdrawTrx" class="org.tron.stresstest.dispatch.creator.contract.WithdrawCreator">
<property name="name" value="withdrawTrx"/>
<property name="begin" value="0"/>
<property name="end" value="49"/>
</bean>
<bean id="withdrawTrc10" class="org.tron.stresstest.dispatch.creator.contract.withdrawTrc10">
<property name="name" value="withdrawTrc10"/>
<property name="begin" value="50"/>
<property name="end" value="99"/>
</bean>
</beans>