On Mar 7, 2007, at 6:10 AM, Gianny Damour wrote:

Hi,

Following the introduction of a potentially simpler bootstrapping mechanism (currently used by the deployers), we now have an opportunity to refactor ClientCommandLine and Daemon to leverage this same approach.

The idea of the new bootstrapping mechanism is as follows: MainBootstrapper boots a configuration, gets from the Kernel a Main implementation and then delegates to it. As the Main implementation class can be loaded from the boot repository, rooted at repository/ by default, the executable jar instantiating MainBootstrapper can be pretty generic with respect to its Class-Path entries: only geronimo-kernel plus its dependencies are needed.

ClientCommandLine and Daemon could be refactored to implement the Main interface MainBootstrapper is looking for. With these changes, we should be able to move some dependencies from lib/ to repository/ and also uniform the way CLIs are working.

Any concerns if I do these changes?

I think this is a great idea!

thanks
david jencks


Thanks,
Gianny

Reply via email to