We need to change the wait ServerManager.start() works. There should simply be a ServerManager.start(Configuration). The configuration needs a Configuration.standalone() and Configuration.domain(), maybe one for the bootable JAR too, option for the two modes. In these static methods we need to allow a Launcher to be passed. We could possibly have a Configuration.standalone(CommandBuilder) option as well.
What this will do is allow the user to configure the Launcher which is likely needed. Things like where to direct the console output can be important.
We need to change the wait
ServerManager.start()
works. There should simply be aServerManager.start(Configuration)
. The configuration needs aConfiguration.standalone()
andConfiguration.domain()
, maybe one for the bootable JAR too, option for the two modes. In these static methods we need to allow a Launcher to be passed. We could possibly have aConfiguration.standalone(CommandBuilder)
option as well.What this will do is allow the user to configure the Launcher which is likely needed. Things like where to direct the console output can be important.