HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.addExcludedClass(Class<? extends T> excluded) |
Add an excluded implementation class - if such a service implementation is configured (either through
Java Service loader or through addService(Object) ), it would be ignored.
|
HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.addExcludedClassName(String excludeName) |
Add an excluded implementation class - if such a service implementation is configured (either through
Java Service loader or through addService(Object) ), it would be ignored.
|
HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.addService(T service) |
Add a custom service implementation to the list of services.
|
HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.addService(T service,
int priority) |
Add a custom service implementation to the list of services with a custom priority.
|
static <T> HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.builder(ServiceLoader<T> serviceLoader) |
Create a builder for customizable service loader.
|
HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.replaceImplementations(boolean replace) |
When configured to replace implementations, then a service implementation configured through
addService(Object)
will replace the same implementation loaded from the Java Service loader (compared by fully qualified class name).
|
HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.useSystemExcludes(boolean useSysPropExclude) |
|
HelidonServiceLoader.Builder<T> |
HelidonServiceLoader.Builder.useSystemServiceLoader(boolean useServiceLoader) |
When configured to use Java Service loader, then the result is a combination of all service implementations
loaded from the Java Service loader and those added by addService(Object) or addService(Object, int) .
|