Kris,

There are two configuration points in HiveMind which may be of
interest to you: hivemind.Startup and hivemind.EagerLoad. With
hivemind.Startup you can register any java.lang.Runnable object to be
executed at registry construction time. With hivemind.EagerLoad you
can register services to be constructed and initialized at registry
contsruction time.

You will still need a Java main class which does the registry
construction. It just has to call
RegistryBuilder.constructDefaultRegistry().

Possibly we could discuss adding a static main method to the
RegistryBuilder class (simply calling constructDefaultRegistry()) so
you won't either have to write a class with this main method. Although
then you would not have access to the HiveMind registry anymore.

Regards,

--knut

On 1/22/06, Kris Bravo <[EMAIL PROTECTED]> wrote:
>
> Is there any interest in being able to start the hivemind microkernel
> generically?
>
> The examples in the docs include a main which doesn't do much more than
> start the registry and use it to look up and a service explicitly thereby
> causing other services to be executed.
>
> What if the configuration included which service to start (i.e., the
> startup service)? Then a simple starter class and startup scripts could be
> provided, taking another common task off the developers plate.
>
> Does this already exist?
>
> Kris Bravo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to