Package | Description |
---|---|
org.dromara.hutool.core.spi |
服务提供接口SPI(Service Provider interface)机制相关封装,包括:
ListServiceLoader ,提供列表形式的服务定义
MapServiceLoader ,提供键值对形式的服务定义
|
Modifier and Type | Method and Description |
---|---|
static <S> MapServiceLoader<S> |
MapServiceLoader.of(Class<S> serviceClass)
构建KVServiceLoader
|
static <S> MapServiceLoader<S> |
MapServiceLoader.of(Class<S> serviceClass,
ClassLoader classLoader)
构建KVServiceLoader
|
static <S> MapServiceLoader<S> |
MapServiceLoader.of(String pathPrefix,
Class<S> serviceClass,
ClassLoader classLoader)
构建KVServiceLoader
|
Copyright © 2025. All rights reserved.