My question is - do you really need a registry instance? Can't you get
what you need from Module?
Module.getService can take a fully-qualified serviceId...

Steve Gibson

-----Original Message-----
From: Nelson, Randy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 17, 2004 10:55 AM
To: hivemind-dev@jakarta.apache.org
Subject: [SPAM] - Grabbbing a reference to the registry - Email has
different SMTP TO: and MIME TO: fields in the email addresses


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: [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