Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-01-07 04:19:31 +0000
committerslewis2005-01-07 04:19:31 +0000
commit8a59fe2038025e20df335b747d35594cb2d44bf5 (patch)
tree609cf662bd7f7e28b21c6cd07ccd631d012eddfc /framework/bundles/org.eclipse.ecf.provider/plugin.xml
parent81408f00d216c6703f7dfd39dc793c1dc1eb8bc2 (diff)
downloadorg.eclipse.ecf-8a59fe2038025e20df335b747d35594cb2d44bf5.tar.gz
org.eclipse.ecf-8a59fe2038025e20df335b747d35594cb2d44bf5.tar.xz
org.eclipse.ecf-8a59fe2038025e20df335b747d35594cb2d44bf5.zip
Added defaultargument to containerFactory and connectionFactory schema. This will allow extensions to define default values for the respective factories. Also many small improvements, fixed unit test code
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.provider/plugin.xml')
-rw-r--r--framework/bundles/org.eclipse.ecf.provider/plugin.xml35
1 files changed, 32 insertions, 3 deletions
diff --git a/framework/bundles/org.eclipse.ecf.provider/plugin.xml b/framework/bundles/org.eclipse.ecf.provider/plugin.xml
index 693493d88..d2128a315 100644
--- a/framework/bundles/org.eclipse.ecf.provider/plugin.xml
+++ b/framework/bundles/org.eclipse.ecf.provider/plugin.xml
@@ -5,14 +5,43 @@
point="org.eclipse.ecf.containerFactory">
<containerFactory
class="org.eclipse.ecf.provider.generic.ContainerInstantiator"
- description="Generic Container Instantiator"
- name="org.eclipse.ecf.provider.generic.ContainerInstantiator"/>
+ description="Generic Client Container Instantiator"
+ name="org.eclipse.ecf.provider.generic.Client">
+ <defaultargument
+ type="org.eclipse.ecf.core.identity.ID"
+ name="id"/>
+ <defaultargument
+ value="10000"
+ type="java.lang.Integer"
+ name="keepAlive"/>
+ </containerFactory>
</extension>
<extension
point="org.eclipse.ecf.connectionFactory">
<connectionFactory
class="org.eclipse.ecf.provider.comm.tcp.Client$Creator"
description="TCP Client Connection Factory"
- name="org.eclipse.ecf.provider.comm.tcp.Client"/>
+ name="org.eclipse.ecf.provider.comm.tcp.Client">
+ <defaultargument
+ value="10000"
+ type="java.lang.Integer"
+ name="keepAlive"/>
+ </connectionFactory>
+ </extension>
+ <extension
+ point="org.eclipse.ecf.containerFactory">
+ <containerFactory
+ class="org.eclipse.ecf.provider.generic.ContainerInstantiator"
+ description="Generic Server Container Instantiator"
+ name="org.eclipse.ecf.provider.generic.Server">
+ <defaultargument
+ value="ecftcp://localhost:3282/server"
+ type="org.eclipse.ecf.core.identity.ID"
+ name="id"/>
+ <defaultargument
+ value="10000"
+ type="java.lang.Integer"
+ name="keepAlive"/>
+ </containerFactory>
</extension>
</plugin>

Back to the top