public class OsgiServiceLocator extends Object
Constructor and Description |
---|
OsgiServiceLocator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAvailable() |
static <T> Stream<T> |
loadServices(Class<T> serviceType,
MethodHandles.Lookup lookup) |
static <T> Stream<T> |
loadServices(Class<T> serviceType,
MethodHandles.Lookup lookup,
boolean verbose) |
public static boolean isAvailable()
public static <T> Stream<T> loadServices(Class<T> serviceType, MethodHandles.Lookup lookup)
public static <T> Stream<T> loadServices(Class<T> serviceType, MethodHandles.Lookup lookup, boolean verbose)
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.