public final class ShardingSphereServiceLoader extends Object
| 构造器和说明 |
|---|
ShardingSphereServiceLoader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Collection<T> |
getServiceInstances(Class<T> serviceInterface)
Get service instances.
|
static void |
register(Class<?> serviceInterface)
Register service.
|
public static void register(Class<?> serviceInterface)
serviceInterface - service interfacepublic static <T> Collection<T> getServiceInstances(Class<T> serviceInterface)
T - type of serviceserviceInterface - service interfaceCopyright © 2022 The Apache Software Foundation. All rights reserved.