You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by da...@apache.org on 2012/05/01 10:09:01 UTC
svn commit: r1332559 - /aries/site/trunk/content/modules/spi-fly.mdtext
Author: davidb
Date: Tue May 1 08:09:00 2012
New Revision: 1332559
URL: http://svn.apache.org/viewvc?rev=1332559&view=rev
Log:
Small SPI Fly documentation enhancement.
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=1332559&r1=1332558&r2=1332559&view=diff
==============================================================================
--- aries/site/trunk/content/modules/spi-fly.mdtext (original)
+++ aries/site/trunk/content/modules/spi-fly.mdtext Tue May 1 08:09:00 2012
@@ -143,7 +143,10 @@ java.util.ServiceLoader in that it can l
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: javax.imageio.spi.ServiceRegistry</tt>
+<tt>SPI-Provider: javax.imageio.spi.ServiceRegistry</tt> on the client
+side you can use <tt>SPI-Consumer: javax.imageio.spi.ServiceRegistry#lookupProviders(java.l
+ ang.Class) </tt>
+ or <tt>SPI-Consumer: javax.imageio.spi.ServiceRegistry#lookupProviders<tt>
##Examples##