public class SpringLauncher extends java.lang.Object implements Launcher<org.springframework.context.support.ClassPathXmlApplicationContext>
Constructor and Description |
---|
SpringLauncher(java.lang.String resource) |
Modifier and Type | Method and Description |
---|---|
<E> E |
getBean(java.lang.Class<E> clazz)
Returns a bean by class name.
|
org.springframework.context.support.ClassPathXmlApplicationContext |
getContext()
Returns the DI container context.
|
public org.springframework.context.support.ClassPathXmlApplicationContext getContext()
Launcher
getContext
in interface Launcher<org.springframework.context.support.ClassPathXmlApplicationContext>