You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "James Carman (JIRA)" <hi...@jakarta.apache.org> on 2005/08/17 15:03:55 UTC
[jira] Commented: (HIVEMIND-148) Registry.getServiceIds() doesn't support concrete class service points.
[ http://issues.apache.org/jira/browse/HIVEMIND-148?page=comments#action_12319015 ]
James Carman commented on HIVEMIND-148:
---------------------------------------
I checked in a fix that actually determines whether the interface/class you pass in is assignable from the "declared interface" (or class) of the service point. There's a test case in there that checks to see if the registry returns a String service point when you ask for a Serializable or a String. You'll have to download/build from SVN to get the fix, but let me know if it helps. Thanks for finding that bug in my code!
> Registry.getServiceIds() doesn't support concrete class service points.
> -----------------------------------------------------------------------
>
> Key: HIVEMIND-148
> URL: http://issues.apache.org/jira/browse/HIVEMIND-148
> Project: HiveMind
> Type: Bug
> Components: framework
> Versions: 1.1
> Environment: 1.1-beta2
> Reporter: Ben Fortuna
> Assignee: James Carman
> Priority: Minor
> Fix For: 1.1
>
> Hivemind 1.1 sees the introduction of both concrete classes as a service point (prior to this only interfaces were allowed), as well as the introduction of the method Registry.getServiceIds() for retrieving a list of service ids implementing the specified interface.
> Calling Registry.getServiceIds() with a service point defined by a concrete class does not currently identify available implementations, whilst Registry.getService() does. Consistency across all getService*() methods is desireable.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org