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