| Constructor and Description |
|---|
SpringJavaConfigLauncher(Class<?>... annotatedClasses) |
| Modifier and Type | Method and Description |
|---|---|
<P> P |
getBean(Class<P> clazz) |
<P> P |
getBean(String qualifier) |
org.springframework.context.annotation.AnnotationConfigApplicationContext |
getContext() |
<P> P |
registerAndGetBean(Class<? extends P> type,
String id,
Scope scope) |
public SpringJavaConfigLauncher(Class<?>... annotatedClasses)
public org.springframework.context.annotation.AnnotationConfigApplicationContext getContext()
getContext in interface Launcher<org.springframework.context.annotation.AnnotationConfigApplicationContext>public <P> P getBean(Class<P> clazz)
public <P> P getBean(String qualifier)
public <P> P registerAndGetBean(Class<? extends P> type, String id, Scope scope)
registerAndGetBean in interface Launcher<org.springframework.context.annotation.AnnotationConfigApplicationContext>Copyright © 2014. All rights reserved.