]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.server/src/main/resources/org/argeo/slc/web/ajaxplorer/file/spring.xml
Introduce Ajaxplorer support in SLC
[gpl/argeo-slc.git] / runtime / org.argeo.slc.server / src / main / resources / org / argeo / slc / web / ajaxplorer / file / spring.xml
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 xmlns:aop="http://www.springframework.org/schema/aop"
5 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"
6 default-lazy-init="true">
7
8 <bean id="driver.file.template"
9 class="org.argeo.slc.web.ajaxplorer.file.FileDriver"
10 abstract="true">
11 <property name="actions">
12 <map>
13 <entry key="ls" value-ref="action.file.ls" />
14 <entry key="download" value-ref="action.file.download" />
15 <entry key="image_proxy"
16 value-ref="action.file.image_proxy" />
17 <entry key="upload" value-ref="action.file.upload" />
18 <entry key="mkdir" value-ref="action.file.mkdir" />
19 <entry key="delete" value-ref="action.file.delete" />
20 </map>
21 </property>
22 </bean>
23
24 <!-- ACTIONS FS -->
25 <bean id="action.file.ls"
26 class="org.argeo.slc.web.ajaxplorer.file.FileLsAction" />
27
28 <bean id="action.file.download"
29 class="org.argeo.slc.web.ajaxplorer.file.FileDownloadAction" />
30
31 <bean id="action.file.image_proxy"
32 class="org.argeo.slc.web.ajaxplorer.file.FileImageProxyAction" />
33
34 <bean id="action.file.upload"
35 class="org.argeo.slc.web.ajaxplorer.file.FileUploadAction" />
36
37 <bean id="action.file.mkdir"
38 class="org.argeo.slc.web.ajaxplorer.file.FileMkdirAction" />
39
40 <bean id="action.file.delete"
41 class="org.argeo.slc.web.ajaxplorer.file.FileDeleteAction" />
42 </beans>