1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.krms.config;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22 import org.kuali.rice.core.impl.config.module.ModuleConfigurer;
23
24
25
26
27
28
29
30 public class KRMSConfigurer extends ModuleConfigurer {
31
32 private static final String KRMS_SPRING_BEANS_PATH = "classpath:org/kuali/rice/krms/config/KRMSSpringBeans.xml";
33 private static final String KRMS_KSB_SPRING_BEANS_PATH = "classpath:org/kuali/rice/krms/config/KRMSServiceBusSpringBeans.xml";
34
35
36 @Override
37 public List<String> getPrimarySpringFiles() {
38 final List<String> springFileLocations = new ArrayList<String>();
39 springFileLocations.add( KRMS_SPRING_BEANS_PATH );
40
41 if ( isExposeServicesOnBus() ) {
42 springFileLocations.add(KRMS_KSB_SPRING_BEANS_PATH);
43 }
44
45 return springFileLocations;
46 }
47
48 }