1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.db.config.profile;
17
18 import com.google.common.collect.Lists;
19 import org.kuali.common.util.metainf.spring.MetaInfDataLocation;
20 import org.kuali.common.util.metainf.spring.MetaInfDataType;
21 import org.springframework.context.annotation.Bean;
22 import org.springframework.context.annotation.Configuration;
23 import org.springframework.context.annotation.Profile;
24
25 import java.util.List;
26
27
28
29
30
31
32 @Configuration
33 @Profile("server-bootstrap")
34 public class RiceServerBootstrapConfig implements MetaInfDataLocationProfileConfig, MetaInfDataTypeProfileConfig {
35
36
37
38
39 @Override
40 @Bean
41 public List<MetaInfDataLocation> getMetaInfDataLocations() {
42 return Lists.newArrayList(MetaInfDataLocation.CLIENT, MetaInfDataLocation.SERVER);
43 }
44
45
46
47
48 @Override
49 @Bean
50 public List<MetaInfDataType> getMetaInfDataTypes() {
51 return Lists.newArrayList(MetaInfDataType.BOOTSTRAP);
52 }
53
54 }