Ticket #1036: services.xml

File services.xml, 1.8 KB (added by Nicklas Nordborg, 16 years ago)

Example file for dummy services

Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<!--
3 $Id: $
4
5 Copyright (C) Nicklas Nordborg
6
7 This file is part of BASE - BioArray Software Environment.
8 Available at http://base.thep.lu.se/
9
10 BASE is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License
12 as published by the Free Software Foundation; either version 2
13 of the License, or (at your option) any later version.
14
15 BASE is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place - Suite 330,
23 Boston, MA 02111-1307, USA.
24-->
25<extensions
26 xmlns="http://base.thep.lu.se/extensions.xsd"
27 >
28
29 <extension
30 id="ftp"
31 extends="net.sf.basedb.clients.web.services"
32 >
33 <index>1</index>
34 <action-factory>
35 <factory-class>
36 net.sf.basedb.clients.web.extensions.service.DummyService
37 </factory-class>
38 <parameters>
39 <interval>2</interval>
40 </parameters>
41 </action-factory>
42 </extension>
43
44 <extension
45 id="telnet"
46 extends="net.sf.basedb.clients.web.services"
47 >
48 <index>2</index>
49 <action-factory>
50 <factory-class>
51 net.sf.basedb.clients.web.extensions.service.DummyService
52 </factory-class>
53 <parameters>
54 <interval>5</interval>
55 </parameters>
56 </action-factory>
57 </extension>
58
59 <extension
60 id="mail"
61 extends="net.sf.basedb.clients.web.services"
62 >
63 <index>3</index>
64 <action-factory>
65 <factory-class>
66 net.sf.basedb.clients.web.extensions.service.DummyService
67 </factory-class>
68 <parameters>
69 <interval>10</interval>
70 </parameters>
71 </action-factory>
72 </extension>
73
74</extensions>