You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/10/04 16:01:32 UTC

[jira] Commented: (HIVEMIND-64) no check for duplicate service points

The following comment has been added to this issue:

     Author: Knut Wannheden
    Created: Mon, 4 Oct 2004 7:00 AM
       Body:
This problem also applies to configuration extension points and schemas.

Implementing these duplication checks at parse time would impose a rather large performance penalty as the definitions are stored internally in the ModuleDescriptor in ArrayLists.  Changing the internal storage would in turn result in a change in the ModuleDescriptor's interface.

A better alternative is probably to defer these checks to registry construction time (i.e. the RegistryInfrastructureConstructor).  There Maps keyed on ID would be readily available, making the checks performant and simple.

Thoughts?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-64?page=comments#action_53672

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-64

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-64
    Summary: no check for duplicate service points
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: HiveMind
 Components: 
             framework
   Fix Fors:
             1.1
   Versions:
             1.0

   Assignee: 
   Reporter: Knut Wannheden

    Created: Sun, 3 Oct 2004 1:50 PM
    Updated: Mon, 4 Oct 2004 7:00 AM

Description:
If a module descriptor contains two service points with the same ID, HiveMind only exposes the latter of these through the registry.  Instead HiveMind should report an error in these cases.

I suspect the same thing applies to configuration points.


---------------------------------------------------------------------
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org