Rev 1041 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1030 | dev | 1 | <?xml version='1.0' encoding='utf-8'?> |
2 | |||
3 | <!-- |
||
4 | HostAdmiral configuration file. |
||
5 | There are two files - one is default, the second one is user-defined. |
||
6 | Both files are merged with user-definition preference. |
||
7 | --> |
||
8 | <hostadmiral> |
||
9 | <!-- |
||
10 | Version of this config. By changing major number the config must be converted to new |
||
11 | one. Minor changes allow old file using. |
||
12 | --> |
||
13 | <version major="1" minor="0" /> |
||
14 | |||
15 | <!-- |
||
16 | Which data source is used to store internal information. |
||
17 | --> |
||
18 | <datasource> |
||
19 | <!-- Data source type. Only "hibernate" is supported at the moment --> |
||
20 | <type>hibernate</type> |
||
21 | |||
22 | <!-- Hibernate and database properties --> |
||
23 | <settings> |
||
24 | <!-- DB driver --> |
||
25 | <driver>org.postgresql.Driver</driver> |
||
26 | |||
27 | <!-- DB user --> |
||
28 | <username></username> |
||
29 | |||
30 | <!-- DB password --> |
||
31 | <password></password> |
||
32 | |||
33 | <!-- DB URL: type, host and database name, format depends on DB driver --> |
||
34 | <url>jdbc:postgresql://localhost/hostadmiral</url> |
||
35 | |||
36 | <!-- DB dialect, must conform to DB driver --> |
||
37 | <dialect>net.sf.hibernate.dialect.PostgreSQLDialect</dialect> |
||
38 | </settings> |
||
39 | </datasource> |
||
40 | |||
41 | <!-- |
||
42 | Classes which must be initialized at program startup. |
||
43 | If class implements ak.hostadmiral.util.ConfigInit then the method init will be called, |
||
44 | only such classes can have init params. Otherwise the class is just called by "forName" |
||
45 | and can use static initializers. |
||
46 | --> |
||
47 | <initializations> |
||
48 | <!-- Core classes --> |
||
49 | <initialization> |
||
50 | <class>ak.hostadmiral.core.model.UserManager</class> |
||
51 | </initialization> |
||
52 | <initialization> |
||
53 | <class>ak.hostadmiral.core.model.SystemUserManager</class> |
||
54 | </initialization> |
||
55 | <initialization> |
||
56 | <class>ak.hostadmiral.core.model.InetDomainManager</class> |
||
57 | </initialization> |
||
58 | <initialization> |
||
59 | <class>ak.hostadmiral.core.model.MailboxManager</class> |
||
60 | </initialization> |
||
61 | <initialization> |
||
62 | <class>ak.hostadmiral.core.model.MailAliasManager</class> |
||
63 | </initialization> |
||
64 | <initialization> |
||
65 | <class>ak.hostadmiral.core.model.MailAliasDestinationManager</class> |
||
66 | </initialization> |
||
67 | </initializations> |
||
68 | </hostadmiral> |