blob: d74275d7abb4c6a0d95714c65356a2ad1fe9e931 (
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
|
<?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="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="selectorManager" class="org.eclipse.net4j.socket.impl.SelectorManagerImpl"/>
<!-- ######################################################## -->
<bean id="protocol" class="org.eclipse.net4j.test.protocol.Net4jTestProtocol">
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
</bean>
<!-- ######################################################## -->
<bean id="connector" class="org.eclipse.net4j.socket.impl.ActiveSocketConnectorImpl">
<property name="bufferPool">
<ref local="bufferPool"/>
</property>
<property name="protocolManager">
<ref local="protocolManager"/>
</property>
<property name="selectorManager">
<ref local="selectorManager"/>
</property>
<property name="host">
<value>${socket.host}</value>
</property>
<property name="port">
<value>${socket.port}</value>
</property>
<property name="autoStart">
<value>false</value>
</property>
</bean>
</beans>
|