org.springframework.shell
Class Bootstrap
java.lang.Object
org.springframework.shell.Bootstrap
public class Bootstrap
- extends Object
Loads a Shell
using Spring IoC container.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bootstrap
public Bootstrap()
Bootstrap
public Bootstrap(String[] args)
throws IOException
- Throws:
IOException
Bootstrap
public Bootstrap(String[] args,
String[] contextPath)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
getApplicationContext
public ApplicationContext getApplicationContext()
createAndRegisterBeanDefinition
protected void createAndRegisterBeanDefinition(GenericApplicationContext annctx,
Class<?> clazz)
createAndRegisterBeanDefinition
protected void createAndRegisterBeanDefinition(GenericApplicationContext annctx,
Class<?> clazz,
String name)
run
public ExitShellRequest run()
getJLineShellComponent
public JLineShellComponent getJLineShellComponent()