public class ServiceProvider<S> extends Object
| 构造器和说明 |
|---|
ServiceProvider(Supplier<S> factory) |
public static <S> ServiceProvider<S> of(Supplier<S> factory)
public static <S> ServiceProvider<S> of(Class<S> clazz)
public S get()
Copyright © 2025 fossc. All rights reserved.