java.lang.Object
javax.xml.soap.FactoryFinder
- class FactoryFinder
- extends java.lang.Object
This class is used to locate factory classes for javax.xml.soap.
It has package scope since it is not part of JAXM and should not
be accessed from other packages.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryFinder
FactoryFinder()
newInstance
private static java.lang.Object newInstance(java.lang.String factoryClassName)
throws SOAPException
- instantiates an object go the given classname.
find
static java.lang.Object find(java.lang.String factoryPropertyName,
java.lang.String defaultFactoryClassName)
throws SOAPException
- Instantiates a factory object given the factory's property name and the
default class name.
getResource
private static java.io.InputStream getResource(java.lang.String factoryResource)
- Returns an input stream for the specified resource.
This method will firstly try
ClassLoader.getSystemResourceAsStream() then
the class loader of the current thread with
getResourceAsStream() and finally attempt
getResourceAsStream() on
FactoryFinder.class.getClassLoader().