The following comment has been added to this issue:

     Author: Naresh Sikha
    Created: Wed, 14 Jul 2004 12:05 PM
       Body:
Thank you! Brainstorming a bit I think we can provide an efficiency when 
authoring hivemodule files.

Add an

<import module-id="org.apache.hivemind"/>
or
<import module-id="org.apache.hivemind" as-id="hivemind"/>

would allow set-service references to be more succinct:

<set-service id="ThreadLocalStorage"/> (assumes first import example)
<set-service id="hivemine.ThreadLocalStorage"/> (assumes second import example)

Extending this, we could auto import 'org.apache.hivemind' module id (kind of 
like java.lang)

This will make hivemodule definitions as terse as the Java code.

Thanks again.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-20?page=comments#action_36670

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-20
    Summary: Simplified lookup for services with only one implmentation
       Type: Improvement

     Status: Open
   Priority: Major

    Project: HiveMind
 Components: 
             framework
   Versions:
             1.0

   Assignee: Howard M. Lewis Ship
   Reporter: Juan Carlos Estibariz

    Created: Thu, 8 Jul 2004 9:30 AM
    Updated: Wed, 14 Jul 2004 12:05 PM

Description:
Most of the time my services have the same id as the interface fully qualified 
name, with the simplified getService method for Registry proposed in the 
FeatureRequest wiki (4. Support Globally Unique Services), it would save the 
hassle of dealing with additional strings for the service ids

http://wiki.apache.org/jakarta-hivemind/FeatureRequest


---------------------------------------------------------------------
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]

Reply via email to