blob: 82dcff5053507ed961202277f58d54727a747529 (
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
|
<?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> plugin:/META-INF/net4j/server/net4j-server.properties </value>
</list>
</property>
</bean>
<!-- ######################################################## -->
<bean id="serverControlProtocol"
class="org.eclipse.net4j.core.protocol.ServerControlProtocol">
<property name="protocolManager">
<ref bean="protocolManager"/>
</property>
</bean>
<!-- ######################################################## -->
<bean id="connectionManager"
class="org.eclipse.net4j.core.impl.ConnectionManagerImpl">
<property name="maxConnections">
<value>${connectionManager.maxConnections}</value>
</property>
</bean>
<!-- ######################################################## -->
<bean id="acceptor" class="org.eclipse.net4j.socket.impl.SocketAcceptorImpl">
<property name="listenAddr">
<value>${acceptor.listenAddr}</value>
</property>
<property name="listenPort">
<value>${acceptor.listenPort}</value>
</property>
<property name="autoStart">
<value>false</value>
</property>
</bean>
<!-- ######################################################## -->
<bean id="slave" singleton="false"
class="org.eclipse.net4j.socket.impl.PassiveSocketConnectorImpl">
<property name="bufferPool">
<ref bean="bufferPool"/>
</property>
<property name="connectionManager">
<ref local="connectionManager"/>
</property>
<property name="protocolManager">
<ref bean="protocolManager"/>
</property>
<property name="selectorManager">
<ref bean="selectorManager"/>
</property>
</bean>
</beans>
|