T - type of algorithm classpublic abstract class TypeBasedSPIServiceLoader<T extends TypeBasedSPI> extends Object
| Constructor and Description |
|---|
TypeBasedSPIServiceLoader() |
| Modifier and Type | Method and Description |
|---|---|
T |
newService()
Create new service by default SPI type.
|
T |
newService(String type,
Properties props)
Create new instance for type based SPI.
|
public final T newService(String type, Properties props)
type - SPI typeprops - SPI propertiespublic final T newService()
Copyright © 2019 The Apache Software Foundation. All rights reserved.