diff options
author | Eike Stepper | 2006-04-01 10:42:25 +0000 |
---|---|---|
committer | Eike Stepper | 2006-04-01 10:42:25 +0000 |
commit | 0a20df97c9f1ead9e4111af0fb35d03ab96b8c65 (patch) | |
tree | a08f77588c5df9673592be01ec7e3f4adcc5a08c /plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml | |
parent | 1cfb240f88d8c55390b4618bfee49918b560e39e (diff) | |
download | cdo-0a20df97c9f1ead9e4111af0fb35d03ab96b8c65.tar.gz cdo-0a20df97c9f1ead9e4111af0fb35d03ab96b8c65.tar.xz cdo-0a20df97c9f1ead9e4111af0fb35d03ab96b8c65.zip |
Initial source import.committers/estepper/initial001
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml')
-rw-r--r-- | plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml b/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml new file mode 100644 index 0000000000..ba94843956 --- /dev/null +++ b/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml @@ -0,0 +1,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="basicClientProtocol" class="org.eclipse.net4j.core.protocol.BasicClientProtocol"> + <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> |