public class SpringContext extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description | 
|---|
| SpringContext()public constructor that throws exception if you try to instantiate it
 twice | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | getBean(Class<T> clazz)returns a spring bean by its class... | 
| static Object | getBean(SpringBeans bean)return a spring bean by its name | 
| void | setApplicationContext(org.springframework.context.ApplicationContext applicationContext) | 
public SpringContext() throws Exception
Exceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic static Object getBean(SpringBeans bean)
beanName - Copyright © 2004–2015 The Kuali Foundation. All rights reserved.