You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Nelson, Randy" <ra...@bankofamerica.com> on 2004/06/17 16:55:03 UTC
Grabbbing a reference to the registry
We have a ServiceBroker which associates different service implementations
with a head declaration and checks service versions.
In the ServiceBroker, under Hivemind 1.0 alpha, we would use the registry to
1. get a given module, then use the Module to get the ServicePoint (was
ServiceExtensionPoint) for a ServiceID.
2. resolve "valueForSymbol()"
We were able to make the registry available to this internal service by
using the "set-module" rule on a contribution object, then asking this
module for the registry (module.getRegistry()).
However, under the 1.0beta-1, several items have changed, including the fact
that there is no longer a "getRegistry()" method on Module. The ModuleImpl,
does have a setRegistry().
Question: How can/should I get ahold of the registry now?
Thanks,
Randy
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org