public class SpringXmlConfigLauncher extends Object implements Launcher<org.springframework.context.support.ClassPathXmlApplicationContext>
| Constructor and Description |
|---|
SpringXmlConfigLauncher(String resource) |
| Modifier and Type | Method and Description |
|---|---|
<P> P |
getBean(Class<P> clazz) |
<P> P |
getBean(String qualifier) |
org.springframework.context.support.ClassPathXmlApplicationContext |
getContext() |
<T> T |
registerAndGetBean(Class<? extends T> type,
String id,
Scope scope) |
public SpringXmlConfigLauncher(String resource)
public org.springframework.context.support.ClassPathXmlApplicationContext getContext()
getContext in interface Launcher<org.springframework.context.support.ClassPathXmlApplicationContext>public <P> P getBean(Class<P> clazz)
public <P> P getBean(String qualifier)
public <T> T registerAndGetBean(Class<? extends T> type, String id, Scope scope)
registerAndGetBean in interface Launcher<org.springframework.context.support.ClassPathXmlApplicationContext>Copyright © 2014. All rights reserved.