Class MainRunner

  • All Implemented Interfaces:
    Runnable, InitializingBean

    public class MainRunner
    extends Object
    implements InitializingBean, Runnable
    A simple helper bean for running main classes from within the spring.xml usually asynchronous in a background thread; which is useful for demos such as running Swing programs in the same JVM.