Hi Jason,

Some comments below.

Regards

Simon

On 10/30/07, Jason Clark <[EMAIL PROTECTED]> wrote:
>
> Here's my use case.
>
>
>
> All my services extend a basic service interface that has some management
> methods in it like shutdown and methods for gathering metrics reports to
> see
> various bits of information.
>
>
>
> Is there a way to request all the available services in the distributed
> domain?


Not just at the moment but the intention is to extend it to include this
information.

I noticed in the embedded SCADomain, I can get the componentManager and
> request the names of all the components which I can use to gather each of
> the components by the given Service interface.
>
>
>
> But, the other SCADomain, the getComponentManager method is commented out.


We have a new domain implementation in

modules/domain
             domain-api
             domain-impl

There is an API for controlling the domain
There is a default management service interface that provide read only
information about the domain.

I imagine we will start to move away from the domain implementations in
host-embedded when the new interfaces start the settle down. They haven't
settled down yet so nows the time to get anything you need in there.

Currently I only need the embedded one, but in the future I will probably
> have to deal with the distributed domain. Are there plans for implementing
> the capability for the distributed model?


Absolutely. What do you need to see? For example, currently you can ask
about the the domain itself and the contributions it holds. You can also ask
about the nodes the domain has and find which contributions are running on
which node. It would be fairly straightforward to extend this to provide
information about components. Is the list of component names in the domain
sufficient?

-Jason Clark
>
>
>
>
>
>
>

Reply via email to