The following comment has been added to this issue:

     Author: Howard M. Lewis Ship
    Created: Sat, 17 Jul 2004 4:21 PM
       Body:
I consider this patch a bit controversial in that an application may operate, 
and then by adding an additional module (that provides a second implementation 
of some service), it will fail.

However, it will fail fast with a good exception message.

I'm going to look into extending BuilderFactory to make use of this new API. It 
would be nice to say 

construct (class=foo.bar.Baz autowire=true)

And have BuilderFactory identify any writable properties that "smell like" 
services (i.e., are an interface ... or perhaps, are an interface for which at 
least one service point exists).

Anyway, it could update those properties.  Maybe do something similar for 
constructors (constructors need to be revisited a bit).
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-20?page=comments#action_36731

---------------------------------------------------------------------
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: In Progress
   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: Sat, 17 Jul 2004 4:21 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