| 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 nullfactory abstract class or interface to be found factoryClass, String the implementation class name, which is
to be used only if nothing else
is found; defaultClassName, boolean null to indicate
that there is no default class namewhether to try the default class as a
fallback tryFallback)Finds the implementation |
| private static String | |
| private static String | |
| private static boolean | |
| private static void | |
| private static <T> T | |
| private static <T> T |
| 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 defaultClassName, boolean tryFallback) throws RuntimeException Finds the implementation This method is package private so that this code can be shared.
| |
| fromSystemProperty | back to summary |
|---|---|
| private static String fromSystemProperty(String factoryId) | |
| getSystemProperty | back to summary |
|---|---|
| private static String getSystemProperty(final String property) | |
| isOsgi | back to summary |
|---|---|
| private static boolean isOsgi() | |
| logFound | back to summary |
|---|---|
| private static void logFound(String value) | |
| lookupUsingOSGiServiceLoader | back to summary |
|---|---|
private static <T> T lookupUsingOSGiServiceLoader(String factoryId)
| |
| newInstance | back to summary |
|---|---|
| private static <T> T newInstance(String className, String defaultClassName, ClassLoader tccl) throws RuntimeException | |