diff artifact-database/doc/example-conf/conf.xml @ 71:c99da6837be0

Load service factories and services during bootstrap. artifacts/trunk@598 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 22 Jan 2010 11:27:57 +0000
parents 9449f296cd54
children f69e5b87f05f
line wrap: on
line diff
--- a/artifact-database/doc/example-conf/conf.xml	Fri Jan 22 11:08:40 2010 +0000
+++ b/artifact-database/doc/example-conf/conf.xml	Fri Jan 22 11:27:57 2010 +0000
@@ -13,6 +13,16 @@
              name="dummy-3" description="dummy description 3"
              artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
         </artifact-factories>
+        <service-factories>
+            <service-factory
+                name="first service"
+                service="de.intevation.artifactdatabase.DefaultService"
+                description="This is the first service">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
+            <service-factory
+                name="second service"
+                service="de.intevation.artifactdatabase.DefaultService"
+                description="This is the second service">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
+        </service-factories>
     </factories>
     <!-- configuration of the rest server -->
     <rest-server>

http://dive4elements.wald.intevation.org