|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.hr.sys.context.SpringContext
public class SpringContext
helper class for spring beans stuff Copied over from SpringContext.java from the LeaveManager Project
| Constructor Summary | |
|---|---|
SpringContext()
public constructor that throws exception if you try to instantiate it twice |
|
| Method Summary | ||
|---|---|---|
static
|
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)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringContext()
throws Exception
Exception| Method Detail |
|---|
public 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 -
public static <T> T getBean(Class<T> clazz)
clazz -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||