You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by hi...@jakarta.apache.org on 2004/04/23 15:09:31 UTC

[Jakarta HiveMind Wiki] New: FeatureRequest

   Date: 2004-04-23T06:09:31
   Editor: DieterBogdoll <xz...@spammotel.com>
   Wiki: Jakarta HiveMind Wiki
   Page: FeatureRequest
   URL: http://wiki.apache.org/jakarta-hivemind/FeatureRequest

   no comment

New Page:

A place to drop some ideas for new features for !HiveMind

----
= Multiple Implementations for one service-point =

Currently you can only give one implementation for a service point.
Wouldn't it make sense to specify via a ''occurs'' attribute how
many implementation you allow. 

<service-point id="my.service.point" occurs="*"/>

== Fetch a list of service implementations from the Registry ==
You could fetch a List of implementations
like to the contributions:

List services = registry.getServices( "service-point-id" )


== Select a specific service implementation from the Registry ==
If we put a new attribute to the <implementation> tag, for example ''hint'' or ''name'',
we could event select a implementation from the Registry:

IService myService = (IService) registry.getServices( "service-point-id", "hint", IService.class );

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org