1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.core.util;
17
18 import java.util.HashMap;
19 import java.util.Map;
20
21 import org.kuali.rice.kew.actionlist.service.ActionListService;
22 import org.kuali.rice.kew.actionrequest.service.ActionRequestService;
23 import org.kuali.rice.kew.mail.service.ActionListEmailService;
24 import org.springframework.beans.factory.BeanNameAware;
25
26
27
28
29
30
31
32
33
34 public class RiceServiceInjectedObject implements BeanNameAware {
35
36 public static Map<String, RiceServiceInjectedObject> beans = new HashMap<String, RiceServiceInjectedObject>();
37
38 public void setBeanName(String name) {
39 beans.put(name, this);
40 }
41
42 @RiceService(name="enActionListService")
43 public ActionListService als;
44
45 @RiceService(name="enActionListEmailService")
46 public ActionListEmailService ales;
47
48 @RiceService(name="enActionRequestService")
49 public ActionRequestService ars;
50
51 @RiceService(name="enApplicationConstantsService")
52 public Object wireMeInSpring;
53
54
55 @RiceService(resourceLoader="KEW_SPRING+PLUGIN_REGISTRY_CONTAINER_RESOURCE_LOADER", name="enActionListEmailService")
56 public void setActionListEmailService(ActionListEmailService ales) {
57 this.ales = ales;
58 }
59
60 public ActionRequestService getActionRequestService() {
61 return ars;
62 }
63
64 public void setActionRequestService(ActionRequestService ars) {
65 this.ars = ars;
66 }
67
68 public void setWireMeInSpring(Object o) {
69 this.wireMeInSpring = o;
70 }
71
72 }