-
Notifications
You must be signed in to change notification settings - Fork 100
/
service-ome.api.IRepositoryInfo.xml
40 lines (34 loc) · 1.53 KB
/
service-ome.api.IRepositoryInfo.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# $Id$
#
# Copyright 2007 Glencoe Software Inc. All rights reserved.
# Use is subject to license terms supplied in LICENSE.txt
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
<!--
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Written by: David L. Whitehurst <david@glencoesoftware.com>
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
<beans>
<bean id="internal-ome.api.IRepositoryInfo" class="ome.logic.RepositoryInfoImpl">
<property name="datadir" value="${omero.data.dir}"/>
<property name="thumbnailService" ref="/OMERO/Thumbs"/>
<property name="pixelsService" ref="/OMERO/Pixels"/>
<property name="fileService" ref="/OMERO/Files"/>
<property name="sqlAction" ref="simpleSqlAction"/>
</bean>
<bean id="managed-ome.api.IRepositoryInfo" parent="managedService">
<property name="proxyInterfaces" value="ome.api.IRepositoryInfo"/>
<property name="target" ref="internal-ome.api.IRepositoryInfo"/>
</bean>
<bean id="removeUnusedFilesRun" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="internal-ome.api.IRepositoryInfo" />
<property name="targetMethod" value="removeUnusedFiles" />
</bean>
</beans>