| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Object | Returns: theClass object of the specified message factory;
may not be nullthe name of the factory to find, which is
a system property factoryId, String the implementation class name, which is
to be used only if nothing else
is found; fallbackClassName)null to indicate that
there is no fallback class nameFinds the implementation |
| private static Object | newInstance(String className, ClassLoader classLoader)
Creates an instance of the specified class using the specified
|
| FactoryFinder | back to summary |
|---|---|
| pack-priv FactoryFinder() | |
| find | back to summary |
|---|---|
| pack-priv static Object find(String factoryId, String fallbackClassName) throws ServiceException Finds the implementation This method is package private so that this code can be shared.
| |
| newInstance | back to summary |
|---|---|
| private static Object newInstance(String className, ClassLoader classLoader) throws ServiceException Creates an instance of the specified class using the specified
| |