Skip to content

Commit

Permalink
improve documentation at ServiceLoaderProvider
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Oct 30, 2022
1 parent 60a8912 commit c6c0feb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -20,7 +20,6 @@
*/
public class ProviderNotFoundException extends NoSQLException {


ProviderNotFoundException(Class<?> provider) {
super("Provider not found: " + provider);
}
Expand Down
Expand Up @@ -28,7 +28,8 @@
import static java.util.Objects.requireNonNull;

/**
* A class that loads class from {@link ServiceLoader}
* Jakarta NoSQL has several configurations through SPI, Service Provider Interface {@link ServiceLoader} or via OSGI.
* It will check if there is OSGI; otherwise, it loads from SPI.
*/
public final class ServiceLoaderProvider {
private ServiceLoaderProvider() {
Expand Down

0 comments on commit c6c0feb

Please sign in to comment.