SPI.class.getName()
. This is implemented internally, so there is not a dependency on JDK 1.3+. defaultImpl
) is null, then an exception is thrown. defaultImpl
) is non-null, then load the default implementation class. The class loaded is the first class loaded by the following sequence of class loaders: This limits the scope in which the default class loader can be found to the SPI, DiscoverSingleton, and System class loaders. The assumption here is that the default implementation is closely associated with the SPI or system, and is not defined in the user's application space.
An exception is thrown if the class cannot be loaded.
IMPLEMENTATION NOTE - This implementation is modelled after the SAXParserFactory and DocumentBuilderFactory implementations (corresponding to the JAXP pluggability APIs) found in Apache Xerces.
@version $Revision: 1090010 $ $Date: 2011-04-07 23:05:58 +0200 (Thu, 07 Apr 2011) $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|