wildfly / wildfly-plugin-tools

A group of tools for interacting/managing with a WildFly container
Apache License 2.0
0 stars 2 forks source link

Update the start methods to only accept a configuration #54

Closed jamezp closed 1 month ago

jamezp commented 1 month ago

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.

jamezp commented 1 month ago

This follows up on #47