public class SpringContext extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected static org.springframework.context.ConfigurableApplicationContext | applicationContext | 
| protected static String | MEMORY_MONITOR_THRESHOLD_KEY | 
| protected static MemoryMonitor | memoryMonitor | 
| protected static String | OLE_BATCH_STEP_COMPONENT_SET_ID | 
| protected static Thread | processWatchThread | 
| protected static Map<String,Object> | SINGLETON_BEANS_BY_NAME_CACHE | 
| protected static Map<Class<? extends Object>,Object> | SINGLETON_BEANS_BY_TYPE_CACHE | 
| protected static Map<Class<? extends Object>,Map> | SINGLETON_BEANS_OF_TYPE_CACHE | 
| protected static Set<Class<? extends Object>> | SINGLETON_TYPES | 
| protected static String | USE_QUARTZ_SCHEDULING_KEY | 
| Constructor and Description | 
|---|
| SpringContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static void | close() | 
| static void | finishInitializationAfterRiceStartup() | 
| static org.springframework.context.ConfigurableApplicationContext | getApplicationContext() | 
| static <T> T | getBean(Class<T> type)Use this method to retrieve a spring bean when one of the following is the case. | 
| static <T> T | getBean(Class<T> type,
              String name) | 
| static Object | getBean(String beanName) | 
| protected static String[] | getBeanNames() | 
| static <T> Map<String,T> | getBeansOfType(Class<T> type)Use this method to retrieve all beans of a give type in our spring context. | 
| static Object | getService(String serviceName)Use this method to retrieve a service which may or may not be implemented locally. | 
| static boolean | isInitialized() | 
| static void | publishBatchStepComponents() | 
| static void | registerSingletonBean(String beanId,
                                          Object bean) | 
| static void | setApplicationContext(org.springframework.context.ConfigurableApplicationContext applicationContext) | 
protected static final String MEMORY_MONITOR_THRESHOLD_KEY
protected static final String USE_QUARTZ_SCHEDULING_KEY
protected static final String OLE_BATCH_STEP_COMPONENT_SET_ID
protected static org.springframework.context.ConfigurableApplicationContext applicationContext
protected static Set<Class<? extends Object>> SINGLETON_TYPES
protected static Map<Class<? extends Object>,Object> SINGLETON_BEANS_BY_TYPE_CACHE
protected static Map<String,Object> SINGLETON_BEANS_BY_NAME_CACHE
protected static Map<Class<? extends Object>,Map> SINGLETON_BEANS_OF_TYPE_CACHE
protected static Thread processWatchThread
protected static MemoryMonitor memoryMonitor
public SpringContext()
public static Object getService(String serviceName)
public static <T> T getBean(Class<T> type)
T - type - public static <T> Map<String,T> getBeansOfType(Class<T> type)
T - type - protected static String[] getBeanNames()
protected static void close()
public static boolean isInitialized()
public static void registerSingletonBean(String beanId, Object bean)
public static void finishInitializationAfterRiceStartup()
public static void publishBatchStepComponents()
public static org.springframework.context.ConfigurableApplicationContext getApplicationContext()
public static void setApplicationContext(org.springframework.context.ConfigurableApplicationContext applicationContext)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.