comparison 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
comparison
equal deleted inserted replaced
70:ce488c1d3fc4 71:c99da6837be0
11 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> 11 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
12 <artifact-factory 12 <artifact-factory
13 name="dummy-3" description="dummy description 3" 13 name="dummy-3" description="dummy description 3"
14 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> 14 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
15 </artifact-factories> 15 </artifact-factories>
16 <service-factories>
17 <service-factory
18 name="first service"
19 service="de.intevation.artifactdatabase.DefaultService"
20 description="This is the first service">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
21 <service-factory
22 name="second service"
23 service="de.intevation.artifactdatabase.DefaultService"
24 description="This is the second service">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
25 </service-factories>
16 </factories> 26 </factories>
17 <!-- configuration of the rest server --> 27 <!-- configuration of the rest server -->
18 <rest-server> 28 <rest-server>
19 <port>8181</port> 29 <port>8181</port>
20 <listen>localhost</listen> 30 <listen>localhost</listen>

http://dive4elements.wald.intevation.org