From 798e162b5218463be66e244df74130a307f73f91 Mon Sep 17 00:00:00 2001 From: "David M. Lloyd" Date: Mon, 25 Nov 2024 11:06:14 -0600 Subject: [PATCH] Module descriptor updates * Add missing exports * Add missing service providers * Add missing service uses * Fix module dependencies --- src/main/java/module-info.java | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 4da2c3f9..b37483c8 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -1,12 +1,41 @@ +import org.jboss.logmanager.ConfiguratorFactory; +import org.jboss.logmanager.JBossLoggerFinder; +import org.jboss.logmanager.LogContextConfigurator; +import org.jboss.logmanager.LogContextInitializer; +import org.jboss.logmanager.LogManager; +import org.jboss.logmanager.MDCProvider; +import org.jboss.logmanager.NDCProvider; +import org.jboss.logmanager.configuration.DefaultConfiguratorFactory; + module org.jboss.logmanager { - requires java.logging; + requires transitive java.logging; + requires io.smallrye.common.constraint; requires io.smallrye.common.cpu; requires io.smallrye.common.expression; requires io.smallrye.common.net; requires io.smallrye.common.os; requires io.smallrye.common.ref; + requires static java.xml; requires static jakarta.json; requires static org.jboss.modules; + + exports org.jboss.logmanager; + exports org.jboss.logmanager.configuration; + exports org.jboss.logmanager.configuration.filters; + exports org.jboss.logmanager.errormanager; + exports org.jboss.logmanager.filters; + exports org.jboss.logmanager.formatters; + exports org.jboss.logmanager.handlers; + + provides java.util.logging.LogManager with LogManager; + provides System.LoggerFinder with JBossLoggerFinder; + provides ConfiguratorFactory with DefaultConfiguratorFactory; + + uses ConfiguratorFactory; + uses LogContextConfigurator; + uses LogContextInitializer; + uses MDCProvider; + uses NDCProvider; }