Message: The following issue has been re-assigned.
Assignee: Howard M. Lewis Ship (mailto:[EMAIL PROTECTED]) Assigner: Howard M. Lewis Ship (mailto:[EMAIL PROTECTED]) Date: Fri, 25 Jun 2004 6:18 AM Comment: My intent was that you should always go through a service to gain access to configuration data ... but that's perhaps too draconian. I believe this has already been fixed in CVS but I'll double check. --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/HIVEMIND-11 Here is an overview of the issue: --------------------------------------------------------------------- Key: HIVEMIND-11 Summary: getConfiguration missing from Registry Interface Type: Bug Status: Open Priority: Major Project: HiveMind Components: framework Versions: 1.0 Assignee: Howard M. Lewis Ship Reporter: Achim H�gen Created: Fri, 25 Jun 2004 2:02 AM Updated: Fri, 25 Jun 2004 6:18 AM Description: The getConfiguration method is no longer present in the registry interface but has been moved to RegistryInfrastructure. That change made dealing with the registry unintuitive, retrieving a configuration requires some good guesswork, especially since the documentation is not uptodate. Let's have a look how the documentation must change, this reveals some of the difficulties. Current documentation: Registry registry = . . .; List elements = registry.getConfiguration("com.myco.MyConfig"); Simple and clean. Instead we need a reference to RegistryInfrastructure. Only solution is a cast: List elements = ( (RegistryInfrastructure) registry ).getConfiguration("com.myco.MyConfig"); Besides beeing unintuitive, there is no contract, that ensures that the Registry object additionally implements RegistryInfrastructure! IMHO, dealing with two different interfaces for the most basic tasks is no good idea. Howard, you already admitted on the mailing list, that you 'probably have been overly zealous in removing getConfiguration()' Please restore the method. Achim Huegen --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
