public abstract class LazySelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>> extends Object implements SelectableServiceLoader<Param_Type,T>
| 构造器和说明 |
|---|
LazySelectableServiceLoader() |
LazySelectableServiceLoader(Common.Function<Method,RuntimeException> exceptionFunction) |
LazySelectableServiceLoader(T defaultProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,T> |
getAll() |
T |
getDefault() |
protected Class<T> |
getInterfaceClass() |
protected Class<Param_Type> |
getParamType() |
T |
select(Param_Type param) |
List<T> |
selectAll(Param_Type param_type) |
public LazySelectableServiceLoader()
public LazySelectableServiceLoader(T defaultProvider)
public LazySelectableServiceLoader(Common.Function<Method,RuntimeException> exceptionFunction)
public T select(Param_Type param)
select 在接口中 SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>public List<T> selectAll(Param_Type param_type)
selectAll 在接口中 SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>public Map<String,T> getAll()
getAll 在接口中 SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>public T getDefault()
getDefault 在接口中 SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>protected Class<Param_Type> getParamType()
Copyright © 2020. All rights reserved.