1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.execute;
17
18 import java.util.List;
19
20 import org.kuali.common.util.service.SpringService;
21
22 public class SpringContextLoaderExecutable implements Executable {
23
24 SpringService service;
25 List<String> locations;
26 List<String> beanNames;
27 List<Object> beans;
28
29 @Override
30 public void execute() {
31 service.load(locations, beanNames, beans);
32 }
33
34 public SpringService getService() {
35 return service;
36 }
37
38 public void setService(SpringService service) {
39 this.service = service;
40 }
41
42 public List<String> getLocations() {
43 return locations;
44 }
45
46 public void setLocations(List<String> locations) {
47 this.locations = locations;
48 }
49
50 public List<String> getBeanNames() {
51 return beanNames;
52 }
53
54 public void setBeanNames(List<String> beanNames) {
55 this.beanNames = beanNames;
56 }
57
58 public List<Object> getBeans() {
59 return beans;
60 }
61
62 public void setBeans(List<Object> beans) {
63 this.beans = beans;
64 }
65 }