Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-04-01 05:42:25 -0500
committerEike Stepper2006-04-01 05:42:25 -0500
commit0a20df97c9f1ead9e4111af0fb35d03ab96b8c65 (patch)
treea08f77588c5df9673592be01ec7e3f4adcc5a08c /plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
parent1cfb240f88d8c55390b4618bfee49918b560e39e (diff)
downloadcdo-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/embedded.xml')
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/embedded.xml91
1 files changed, 91 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml b/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
new file mode 100644
index 0000000000..a619b3926c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
@@ -0,0 +1,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="basicServerProtocol" class="org.eclipse.net4j.core.protocol.BasicServerProtocol">
+ <property name="protocolManager">
+ <ref local="protocolManager"/>
+ </property>
+ </bean>
+
+ <!-- ######################################################## -->
+ <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="protocol" class="org.eclipse.net4j.test.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>

Back to the top