Convert to a JPMS to prevent reflective access.
For compatibility, we still need to export the implementation details.
JIRA: MDSAL-749
Change-Id: I85baf0f41c415d02fe2d7b02a70e2b57b502ad9f
Signed-off-by: Samuel Schneider <samuel.schneider@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-data-tree-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-impl</artifactId>
- </dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-model-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-parser-api</artifactId>
- </dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-repo-api</artifactId>
<artifactId>yang-ext</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yang-data-impl</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yang-parser-api</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<scm>
--- /dev/null
+/*
+ * Copyright (c) 2023 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+import org.opendaylight.mdsal.dom.api.DOMMountPointService;
+import org.opendaylight.mdsal.dom.broker.DOMMountPointServiceImpl;
+
+module org.opendaylight.mdsal.dom.broker {
+ exports org.opendaylight.mdsal.dom.broker;
+
+ provides DOMMountPointService with DOMMountPointServiceImpl;
+
+ requires transitive org.opendaylight.mdsal.common.api;
+ requires transitive org.opendaylight.mdsal.dom.api;
+ requires transitive org.opendaylight.mdsal.dom.spi;
+ requires com.google.common;
+ requires org.slf4j;
+
+ // Annotations
+ requires static transitive java.annotation;
+ requires static transitive javax.inject;
+ requires static org.kohsuke.metainf_services;
+ requires static org.osgi.service.component.annotations;
+ requires static org.osgi.service.metatype.annotations;
+}
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Deactivate;
import org.osgi.service.component.annotations.Reference;
-import org.osgi.service.component.annotations.RequireServiceComponentRuntime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Singleton
@Component(immediate = true, service = DOMRpcRouterServices.class)
-@RequireServiceComponentRuntime
public final class DOMRpcRouter extends AbstractRegistration
implements DOMRpcRouterServices, EffectiveModelContextListener {
private static final Logger LOG = LoggerFactory.getLogger(DOMRpcRouter.class);