| Modifier and Type | Field and Description |
|---|---|
| private static final ServiceLoaderUtil. | |
| private static final Logger | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> T | Returns: theClass object of the specified message factory;
may not be nullthe name of the factory to find, which is
a system property factoryClass, 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 | |
| private static Object | |
| private static boolean | |
| private static Object |
| EXCEPTION_HANDLER | back to summary |
|---|---|
| private static final ServiceLoaderUtil. | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| OSGI_SERVICE_LOADER_CLASS_NAME | back to summary |
|---|---|
| private static final String OSGI_SERVICE_LOADER_CLASS_NAME | |
| FactoryFinder | back to summary |
|---|---|
| pack-priv FactoryFinder() | |
| find | back to summary |
|---|---|
| pack-priv static <T> T find(Class<T> factoryClass, String fallbackClassName) Finds the implementation This method is package private so that this code can be shared.
| |
| fromJDKProperties | back to summary |
|---|---|
| private static Object fromJDKProperties(String factoryId, String fallbackClassName, ClassLoader classLoader) | |
| fromSystemProperty | back to summary |
|---|---|
| private static Object fromSystemProperty(String factoryId, String fallbackClassName, ClassLoader classLoader) | |
| isOsgi | back to summary |
|---|---|
| private static boolean isOsgi() | |
| lookupUsingOSGiServiceLoader | back to summary |
|---|---|
| private static Object lookupUsingOSGiServiceLoader(String factoryId) | |