Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Define service providers in module info #368

Merged
merged 1 commit into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions afs/sql/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
{
exports one.microstream.afs.sql.types;

provides one.microstream.configuration.types.ConfigurationBasedCreator
with one.microstream.afs.sql.types.SqlFileSystemCreatorMariaDb,
one.microstream.afs.sql.types.SqlFileSystemCreatorPostgres,
one.microstream.afs.sql.types.SqlFileSystemCreatorSqlite
;

requires transitive microstream.afs;
requires transitive microstream.configuration;
requires transitive java.sql;
Expand Down
5 changes: 5 additions & 0 deletions base/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
exports one.microstream.math;
exports one.microstream.util.cql;
exports one.microstream.time;

provides javax.annotation.processing.Processor
with one.microstream.entity.codegen.EntityProcessor,
one.microstream.wrapping.codegen.WrapperProcessor
;

requires java.compiler;
requires transitive java.management;
Expand Down
4 changes: 4 additions & 0 deletions cache/cache/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
exports one.microstream.cache.types;
exports one.microstream.cache.exceptions;

provides javax.cache.spi.CachingProvider
with one.microstream.cache.types.CachingProvider
;

requires transitive microstream.persistence.binary;
requires transitive microstream.storage.embedded.configuration;
requires transitive cache.api;
Expand Down
4 changes: 4 additions & 0 deletions storage/rest/client-app/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
exports one.microstream.storage.restclient.app.types;
exports one.microstream.storage.restclient.app.ui;

provides com.vaadin.flow.server.VaadinServiceInitListener
with one.microstream.storage.restclient.app.types.ApplicationServiceInitListener
;

requires flow.data;
requires flow.html.components;
requires flow.server;
Expand Down
7 changes: 7 additions & 0 deletions storage/rest/service-sparkjava/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
exports one.microstream.storage.restservice.sparkjava.exceptions;
exports one.microstream.storage.restservice.sparkjava.types;

provides one.microstream.storage.restadapter.types.StorageViewDataConverter
with one.microstream.storage.restservice.sparkjava.types.StorageViewDataConverterJson
;
provides one.microstream.storage.restservice.types.StorageRestServiceProvider
with one.microstream.storage.restservice.sparkjava.types.StorageRestServiceProviderSparkJava
;

requires transitive microstream.storage.restservice;
requires transitive com.google.gson;
requires transitive spark.core;
Expand Down