aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1332557 - /aries/site/trunk/content/modules/spi-fly.mdtext
Date Tue, 01 May 2012 08:01:35 GMT
Author: davidb
Date: Tue May  1 08:01:35 2012
New Revision: 1332557

URL: http://svn.apache.org/viewvc?rev=1332557&view=rev
Log:
Add description of javax.imageio.spi.ServiceRegistry special case.

Modified:
    aries/site/trunk/content/modules/spi-fly.mdtext

Modified: aries/site/trunk/content/modules/spi-fly.mdtext
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/modules/spi-fly.mdtext?rev=1332557&r1=1332556&r2=1332557&view=diff
==============================================================================
--- aries/site/trunk/content/modules/spi-fly.mdtext (original)
+++ aries/site/trunk/content/modules/spi-fly.mdtext Tue May  1 08:01:35 2012
@@ -133,6 +133,19 @@ id	State       Bundle
 
 Then install and start the statically woven bundle into the system.
 
+##Special Cases##
+SPI Fly can be used for most SPI provider/lookup systems that use the TCCL pattern to obtain
+implementations. However, some cases some *special treatment* is needed. This section
+lists the known cases.
+
+  - **javax.imageio.spi.ServiceRegistry**: This class is very much like
+java.util.ServiceLoader in that it can load any kind of API implementation.
+While SPI Fly knows about ServiceLoader and treats it specially, the ServiceRegistry
+class currently does not have special treatment. It can still be made to work
+but this requires the following header in the provider bundle:
+<tt>SPI-Provider:&nbsp;javax.imageio.spi.ServiceRegistry</tt>
+
+
 ##Examples##
 The <tt>spi-fly-examples</tt> directory contains a number of example bundles
that can be 
 used for testing or experimenting.



Mime
View raw message