Java Service loader extension.
-
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.
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.
Add a custom service implementation to the list of services.
HelidonServiceLoader.Builder.addService(T service,
int priority)
Add a custom service implementation to the list of services with a custom priority.
Create a builder for customizable service loader.
Configure default priority for services that do not have any.
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).
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)
.