Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-10-22 03:32:35 -0400
committerEike Stepper2006-10-22 03:32:35 -0400
commit0fefd7f4fb0598420de8832acdaed52d895eb62f (patch)
treec920c6d93677f7e2e13d603b3a1fd9486b924ce0 /plugins/org.eclipse.net4j.tests/META-INF
parent4b41c537099072f6d2b7fdba3cfd605666da6e96 (diff)
downloadcdo-0fefd7f4fb0598420de8832acdaed52d895eb62f.tar.gz
cdo-0fefd7f4fb0598420de8832acdaed52d895eb62f.tar.xz
cdo-0fefd7f4fb0598420de8832acdaed52d895eb62f.zip
Initial provisioning of v0.8.0
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/META-INF')
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF27
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/common.properties8
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/embedded.xml91
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml85
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml90
5 files changed, 7 insertions, 294 deletions
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF
index 5985101b64..4ed88d49c9 100644
--- a/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF
@@ -1,23 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.net4j.tests;singleton:=true
-Bundle-Version: 0.7.0.qualifier
-Bundle-Activator: org.eclipse.net4j.tests.Net4jTestPlugin
-Bundle-ClassPath: lib/easymock.jar,
- lib/easymockclassextension.jar
-Bundle-Vendor: %providerName
+Bundle-Name: Test Plug-in
+Bundle-SymbolicName: org.eclipse.net4j.tests
+Bundle-Version: 0.8.0.qualifier
+Bundle-Activator: org.eclipse.net4j.tests.bundle.Activator
Bundle-Localization: plugin
-Eclipse-LazyStart: false
-Export-Package: org.eclipse.net4j.tests,
- org.eclipse.net4j.tests.protocol,
- org.eclipse.net4j.tests.util
-Require-Bundle: org.eclipse.core.runtime,
- org.junit,
- org.eclipse.net4j.core,
- org.eclipse.net4j.embedded,
- org.eclipse.net4j.socket,
- org.eclipse.net4j.spring,
- org.eclipse.net4j.spring.db,
- org.eclipse.net4j.util,
- org.eclipse.net4j.spring.tests
+Import-Package: org.osgi.framework;version="1.3.0"
+Require-Bundle: org.eclipse.net4j,
+ org.junit
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/common.properties b/plugins/org.eclipse.net4j.tests/META-INF/common.properties
deleted file mode 100644
index 23de5e4dbf..0000000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/common.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-bufferPool.bufferSize=4096
-
-connectionManager.maxConnections=50
-
-channel.responseTimeoutMillis=6000000
-
-socket.host=localhost
-socket.port=12345
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml b/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
deleted file mode 100644
index 11cbf63782..0000000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?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="serverControlProtocol" class="org.eclipse.net4j.core.protocol.ServerControlProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <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="protocol" class="org.eclipse.net4j.tests.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>
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml b/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml
deleted file mode 100644
index c160852793..0000000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?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.tests.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>
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml b/plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml
deleted file mode 100644
index bb966c42ec..0000000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?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="serverControlProtocol" class="org.eclipse.net4j.core.protocol.ServerControlProtocol">
- <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.tests.protocol.Net4jTestProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="acceptor" class="org.eclipse.net4j.socket.impl.SocketAcceptorImpl">
- <property name="listenAddr">
- <value>0.0.0.0</value>
- </property>
- <property name="listenPort">
- <value>${socket.port}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="slave" singleton="false"
- class="org.eclipse.net4j.socket.impl.PassiveSocketConnectorImpl">
- <property name="bufferPool">
- <ref local="bufferPool"/>
- </property>
- <property name="connectionManager">
- <ref local="connectionManager"/>
- </property>
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- <property name="selectorManager">
- <ref local="selectorManager"/>
- </property>
- </bean>
-
-</beans>

Back to the top