You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by si...@avalon.apache.org on 2004/01/10 20:27:31 UTC

[Apache Avalon Wiki] Updated: ServiceManager

   Date: 2004-01-10T11:27:26
   Editor: 160.33.82.119 <>
   Wiki: Apache Avalon Wiki
   Page: ServiceManager
   URL: http://wiki.apache.org/avalon/ServiceManager

   can't remember all the details.  Can someone fix?  -farra

Change Log:

------------------------------------------------------------------------------
@@ -17,3 +17,27 @@
 }}}
 
 see [http://avalon.apache.org/framework/api/org/apache/avalon/framework/service/ServiceManager.html javadocs] for more detailed information.
+
+= Supported Lookup Conventions =
+
+Given:
+{{{
+   Service Interface = org.my.project.MyService
+   MyService.ROLE = "org.my.project.MyService"
+   Service Implementation #1 = org.my.project.impl.ServiceImplOne
+   Service Implementation #1 Alias = "serviceOne"
+   Service Implementation #2 = org.my.project.impl.ServiceImplTwo
+   Service Implementation #2 Alias = "serviceTwo"
+
+}}}
+
+|| lookup(x) || Returns ||  ECM  || Fortress || Phoenix || Merlin || Comments ||
+|| `org.my.project.MyService` || ServiceSelector || (./) || || || || ||
+|| `org.my.project.MyService` || either 'serviceOne' or 'serviceTwo' || || (./) || (./) || (./) || ||
+|| `org.my.project.MyServiceSelector` || ServiceSelector || (./) || || || || ||
+|| `org.my.project.MyService/serviceOne` || serviceOne || || (./)  || (./) || || ||
+|| `org.my.project.MyService/serviceTwo` || serviceTwo || || (./)  || (./) || || ||
+|| `serviceOne` || serviceOne ||  || (./) || (./) || (./) || ||
+|| `serviceTwo` || serviceTwo ||  || (./) || (./) || (./) || ||
+|| `org.my.project.MyService[]` || java.util.List(?) ||  || || (./) || || A list of all the implementations||
+|| `org.my.project.MyService{}` || java.util.Map ||  || || (./) || || A Map of all implemenations with their aliases as keys||

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