Instance Method
run()
Starts the
Application using the start() method, then waits for any running tasks to complete. If your application is started without arguments, the default argument is used.func run() throws
Discussion
Under normal circumstances, run() runs until a shutdown is triggered, then waits for the web server to (manually) shut down before returning.
Warning
You should probably be using execute() instead of this method.