Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 882e28aea7a759b4cee5ac55ec0069f83ccc9788 (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
<?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/net4j.properties </value>
			</list>
		</property>
	</bean>
	
	<!-- ######################################################## -->
	<bean id="randomizer" class="org.eclipse.net4j.core.impl.RandomizerImpl">
		<property name="algorithmName">
			<value>${randomizer.algorithm}</value>
		</property>
	</bean>
	
	<!-- ######################################################## -->
	<bean id="bufferPool" class="org.eclipse.net4j.core.impl.BufferPoolImpl">
		<property name="bufferSize">
			<value>${bufferPool.bufferSize}</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="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="releaseExecutor"
		class="org.eclipse.net4j.core.impl.QueueingExecutorImpl"/>
	
	<!-- ######################################################## -->
	<bean id="tempManager" class="org.eclipse.net4j.core.impl.TempManager">
		<property name="releaseExecutor">
			<ref local="releaseExecutor"/>
		</property>
	</bean>
	
</beans>

Back to the top