org.springframework.shell
Class Bootstrap

java.lang.Object
  extended by org.springframework.shell.Bootstrap

public class Bootstrap
extends Object

Loads a Shell using Spring IoC container.

Since:
1.0

Constructor Summary
Bootstrap(String applicationContextLocation)
           
 
Method Summary
protected  void createAndRegisterBeanDefinition(AnnotationConfigApplicationContext annctx, Class clazz)
           
protected  void createAndRegisterBeanDefinition(AnnotationConfigApplicationContext annctx, Class clazz, String name)
           
static void main(String[] args)
           
protected  ExitShellRequest run(String[] executeThenQuit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bootstrap

public Bootstrap(String applicationContextLocation)
          throws IOException
Throws:
IOException
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

createAndRegisterBeanDefinition

protected void createAndRegisterBeanDefinition(AnnotationConfigApplicationContext annctx,
                                               Class clazz)

createAndRegisterBeanDefinition

protected void createAndRegisterBeanDefinition(AnnotationConfigApplicationContext annctx,
                                               Class clazz,
                                               String name)

run

protected ExitShellRequest run(String[] executeThenQuit)