blob: 11cbf6378211d495e5e8860a8fc489fcce9daee7 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<!-- ######################################################## -->
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>file:META-INF/common.properties</value>
</list>
</property>
</bean>
<!-- ######################################################## -->
<bean id="bufferPool" class="org.eclipse.net4j.core.impl.BufferPoolImpl">
<property name="bufferSize">
<value>${bufferPool.bufferSize}</value>
</property>
</bean>
<!-- ######################################################## -->
<bean id="connectionManager" class="org.eclipse.net4j.core.impl.ConnectionManagerImpl">
<property name="maxConnections">
<value>${connectionManager.maxConnections}</value>
</property>
</bean>
<!-- ######################################################## -->
<bean id="protocolManager" class="org.eclipse.net4j.core.impl.ProtocolManagerImpl"/>
<!-- ######################################################## -->
<bean id="multiplexer" class="org.eclipse.net4j.core.impl.MultiplexerImpl"/>
<!-- ######################################################## -->
<bean id="serverControlProtocol" class="org.eclipse.net4j.core.protocol.ServerControlProtocol">
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
</bean>
<!-- ######################################################## -->
<bean id="clientControlProtocol" class="org.eclipse.net4j.core.protocol.ClientControlProtocol">
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
</bean>
<!-- ######################################################## -->
<bean id="channel" singleton="false" class="org.eclipse.net4j.core.impl.ChannelImpl">
<property name="multiplexer">
<ref local="multiplexer"/>
</property>
<property name="responseTimeoutMillis">
<value>${channel.responseTimeoutMillis}</value>
</property>
</bean>
<!-- ######################################################## -->
<bean id="protocol" class="org.eclipse.net4j.tests.protocol.Net4jTestProtocol">
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
</bean>
<!-- ######################################################## -->
<bean id="connector" class="org.eclipse.net4j.embedded.impl.ActiveEmbeddedConnectorImpl">
<property name="bufferPool">
<ref local="bufferPool"/>
</property>
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
</bean>
<!-- ######################################################## -->
<bean id="slave" singleton="false"
class="org.eclipse.net4j.embedded.impl.PassiveEmbeddedConnectorImpl">
<property name="bufferPool">
<ref local="bufferPool"/>
</property>
<property name="connectionManager">
<ref local="connectionManager"/>
</property>
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
</bean>
</beans>
|