| Loads Service Provider Interface (SPI) classes from the given classloader
(if any). This will search for files in the form
/META-INF/services/classname. The discovered file will be
parsed using java.util.Properties parsing method, but only the
keys will be recognized (note that if a line contains no ':' or '=', then
the line will be recognized as a key with an empty-string value). The found
keys will be used as class names, constructed, and returned, using the
ClassLoadHelper class in this package.
This is intended to follow the SPI interface spec, partially described in
the JDK 1.4 documentation in the package docs for java.awt.im.spi.
Note that by using a Properties instance, this class is limited to only
one instance of a class type per META-INF service file. This is assumed to
be an adequate restriction, since in most circumstances, there should only
be one instance of a service provider loaded per need.
author: Matt Albrecht groboclown@users.sourceforge.net since: June 28, 2002 version: $Date: 2003/05/08 14:12:21 $ |