Mercurial > hg > openmind
annotate src/main/resources/openmind-context.xml @ 97:2c49ddbe95ac
fix tests for changes in RomanizationLoC (not changing wa-).
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 17 Oct 2018 18:44:25 +0200 |
parents | 69c233694e76 |
children |
rev | line source |
---|---|
4 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <beans xmlns="http://www.springframework.org/schema/beans" | |
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 xsi:schemaLocation="http://www.springframework.org/schema/beans | |
5 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | |
6 | |
7 <bean id="persistenceService" class="org.mpi.openmind.repository.services.PersistenceService"> | |
8 <property name="configurationService" ref="configurationService"/> | |
9 <property name="ownValueGenerator" ref="ownValueGenerator"/> | |
10 </bean> | |
11 | |
12 <bean id="cache" class="org.mpi.openmind.cache.CacheService"> | |
13 <property name="ps" ref="persistenceService"/> | |
14 </bean> | |
15 | |
16 <bean id="wrapper" class="org.mpi.openmind.cache.WrapperService"> | |
17 <property name="cache" ref="cache"/> | |
18 </bean> | |
19 | |
20 | |
21 <bean id="searchService" class="org.mpi.openmind.search.SearchService"> | |
22 <property name="om" ref="wrapper"/> | |
23 </bean> | |
24 | |
25 <bean id="ownValueGenerator" class="org.mpi.openmind.repository.utils.OwnValueGenerator"> | |
26 <property name="configurationService" ref="configurationService"/> | |
27 </bean> | |
28 | |
29 <bean id="configurationService" class="org.mpi.openmind.configuration.ConfigurationService"> | |
30 </bean> | |
31 | |
32 <!-- | |
33 <bean id="ontologyService" class="org.mpi.openmind.repository.services.OntologyService"> | |
34 <property name="persistenceService" ref="persistenceService"/> | |
35 <property name="searchService" ref="searchService"/> | |
36 </bean> | |
37 --> | |
38 | |
39 <bean id="securityService" class="org.mpi.openmind.security.SecurityService"> | |
40 <property name="persistenceService" ref="persistenceService"/> | |
41 </bean> | |
42 | |
43 | |
44 <!-- Scheduler for Date-Based Mailings --> | |
45 <bean id="scheduling" class="org.mpi.openmind.scheduling.utils.Scheduling"> | |
46 <property name="persistenceService" ref="persistenceService"/> | |
47 <property name="configurationService" ref="configurationService"/> | |
48 </bean> | |
49 | |
50 <bean id="schedulingJobs" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> | |
51 <property name="targetObject" ref="scheduling"/> | |
52 <property name="targetMethod" value="dailyKickOff"/> | |
53 <!--property name="concurrent" value="false"/--> | |
54 </bean> | |
55 | |
56 <bean id="schedulingCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> | |
57 <property name="jobDetail" ref="schedulingJobs"/> | |
58 <!-- daily 6 AM --> | |
59 | |
60 <property name="cronExpression" value="0 0 6 * * ?"/> | |
61 <!-- | |
62 every 5 minutes | |
63 <property name="cronExpression" value="0 0/5 * * * ?"/> | |
64 --> | |
65 | |
66 </bean> | |
67 | |
48
69c233694e76
add destroy method in spring bean declaration (is this necessary?).
casties
parents:
4
diff
changeset
|
68 <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean" |
69c233694e76
add destroy method in spring bean declaration (is this necessary?).
casties
parents:
4
diff
changeset
|
69 destroy-method="destroy"> |
4 | 70 <property name="triggers"> |
71 <list> | |
72 <ref bean="schedulingCronTrigger"/> | |
73 </list> | |
74 </property> | |
75 </bean> | |
76 </beans> |