1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.spring.service;
17
18 import java.util.Map;
19
20 import org.springframework.context.ConfigurableApplicationContext;
21 import org.springframework.core.env.PropertySource;
22
23
24
25
26 public interface SpringService {
27
28 ConfigurableApplicationContext getApplicationContext(SpringContext context);
29
30 void load(Class<?> annotatedClass);
31
32 void load(Class<?> annotatedClass, Map<String, Object> contextBeans);
33
34 void load(Class<?> annotatedClass, Map<String, Object> contextBeans, PropertySource<?> propertySource);
35
36 void load(String location);
37
38 void load(String location, Map<String, Object> contextBeans, PropertySource<?> propertySource);
39
40 void load(String location, Map<String, Object> contextBeans);
41
42 void load(SpringContext context);
43
44 @Deprecated
45 void load(String location, String beanName, Object bean);
46
47 @Deprecated
48 void load(String location, String beanName, Object bean, PropertySource<?> propertySource);
49
50 @Deprecated
51 void load(Class<?> annotatedClass, String beanName, Object bean);
52
53 @Deprecated
54 void load(Class<?> annotatedClass, String beanName, Object bean, PropertySource<?> propertySource);
55
56 }