程序包 org.coodex.util
类 LazySelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>
java.lang.Object
org.coodex.util.LazySelectableServiceLoader<Param_Type,T>
- 所有已实现的接口:
SelectableServiceLoader<Param_Type,,T> ServiceLoader<T>
- 直接已知子类:
SelectableFactoryLoaderImpl
public abstract class LazySelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>
extends Object
implements SelectableServiceLoader<Param_Type,T>, ServiceLoader<T>
Created by davidoff shen on 2017-03-09.
-
构造器概要
构造器构造器说明LazySelectableServiceLoader(Function<Method, RuntimeException> exceptionFunction) 根据给出的function提供一个默认loaderLazySelectableServiceLoader(Supplier<T> defaultServiceSupplier) LazySelectableServiceLoader(T defaultService) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.coodex.util.ServiceLoader
sorted, sorted
-
构造器详细资料
-
LazySelectableServiceLoader
public LazySelectableServiceLoader() -
LazySelectableServiceLoader
-
LazySelectableServiceLoader
-
LazySelectableServiceLoader
根据给出的function提供一个默认loader- 参数:
exceptionFunction- exceptionFunction
-
-
方法详细资料
-
getGenericTypeSearchContextObject
-
getServiceType
-
selectAll
- 指定者:
selectAll在接口中SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>
-
select
- 指定者:
select在接口中SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>>
-
get
- 指定者:
get在接口中ServiceLoader<Param_Type>
-
get
- 指定者:
get在接口中ServiceLoader<Param_Type>
-
get
- 指定者:
get在接口中ServiceLoader<Param_Type>
-
getDefault
- 指定者:
getDefault在接口中ServiceLoader<Param_Type>
-
getAll
- 指定者:
getAll在接口中SelectableServiceLoader<Param_Type,T extends SelectableService<Param_Type>> - 指定者:
getAll在接口中ServiceLoader<Param_Type>
-