public class ApplicationManager
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
ApplicationManager() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Startable> |
findStartables() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
<T> T |
getBean(java.lang.Class<T> type) |
<T> T |
getBean(java.lang.String name,
java.lang.Class<T> type) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setStartableInterceptors(java.util.List<StartableInterceptor> startableInterceptors) |
void |
start() |
void |
stop() |
public org.springframework.context.ApplicationContext getApplicationContext()
public <T> T getBean(java.lang.Class<T> type)
public <T> T getBean(java.lang.String name,
java.lang.Class<T> type)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setStartableInterceptors(java.util.List<StartableInterceptor> startableInterceptors)
public void start()
public void stop()
protected java.util.List<Startable> findStartables()