| 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 class to use when searching for the factory using the ServiceLoader mechanism serviceClass, String the 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, Properties properties)null to indicate that there is no fallback class nameFinds the implementation |
| private static String | |
| private static Object | newInstance(String className, ClassLoader classLoader, Properties properties)
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(Class<?> serviceClass, String factoryId, String fallbackClassName, Properties properties) Finds the implementation
| |
| getFactoryClassName | back to summary |
|---|---|
| private static String getFactoryClassName(String factoryId) | |
| newInstance | back to summary |
|---|---|
| private static Object newInstance(String className, ClassLoader classLoader, Properties properties) Creates an instance of the specified class using the specified
| |