public final class TypedSPIRegistry extends Object
| Constructor and Description |
|---|
TypedSPIRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends TypedSPI> |
findRegisteredService(Class<T> typedSPIClass,
String type,
Properties props)
Find registered service.
|
static <T extends TypedSPI> |
getRegisteredService(Class<T> typedSPIClass,
String type,
Properties props)
Get registered service.
|
public static <T extends TypedSPI> Optional<T> findRegisteredService(Class<T> typedSPIClass, String type, Properties props)
T - typetypedSPIClass - typed SPI classtype - typeprops - propertiespublic static <T extends TypedSPI> T getRegisteredService(Class<T> typedSPIClass, String type, Properties props)
T - typetypedSPIClass - typed SPI classtype - typeprops - propertiesCopyright © 2022 The Apache Software Foundation. All rights reserved.