Statistiques
| Branche: | Tag: | Révision:

becpg-community / becpg-core / src / main / amp / config / alfresco / module / becpg-core / context / action-context.xml

Historique | Voir | Annoter | Télécharger (2,406 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
  Copyright (C) 2010-2017 beCPG. 
4
   
5
  This file is part of beCPG 
6
   
7
  beCPG is free software: you can redistribute it and/or modify 
8
  it under the terms of the GNU Lesser General Public License as published by 
9
  the Free Software Foundation, either version 3 of the License, or 
10
  (at your option) any later version. 
11
   
12
  beCPG is distributed in the hope that it will be useful, 
13
  but WITHOUT ANY WARRANTY; without even the implied warranty of 
14
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
15
  GNU Lesser General Public License for more details. 
16
   
17
  You should have received a copy of the GNU Lesser General Public License along with beCPG.
18
   If not, see <http://www.gnu.org/licenses/>.
19
-->
20
<beans xmlns="http://www.springframework.org/schema/beans"
21
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
        xsi:schemaLocation="
23
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
24
        
25
        <bean id="compress-image" class="fr.becpg.repo.action.ImageCompressorActionExecuter" parent="action-executer">
26
      <property name="contentService" ref="contentService" />
27
      <property name="imageMagickContentTransformer">
28
          <ref bean="transformer.ImageMagick" />
29
      </property>   
30
    </bean> 
31
    
32
    <bean id="classify-by-hierarchy" class="fr.becpg.repo.hierarchy.action.ClassifyByHierarchyActionExecuter" parent="action-executer">
33
      <property name="hierarchyService" ref="hierarchyService" />      
34
      <property name="namespaceService" ref="namespaceService" />    
35
    </bean>
36

    
37
    <bean id="version-cleaner" class="fr.becpg.repo.action.VersionCleanerActionExecuter" parent="action-executer">
38
            <property name="ruleService" ref="ruleService"/>
39
            <property name="versionService" ref="versionService"/>
40
            <property name="nodeService" ref="nodeService" />
41
            <property name="ignoreLock" value="false" />
42
            <property name="entityDictionaryService" ref="entityDictionaryService" />
43
            <property name="entityVersionService" ref="entityVersionService" />
44
    </bean>
45
    
46
    <!-- I18N -->
47
   
48
   <bean id="actionResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
49
        <property name="resourceBundles">
50
            <list>
51
                <value>alfresco/module/${artifactId}/messages/action-config</value>
52
            </list>
53
        </property>
54
   </bean>
55
    
56
</beans>