<artifactId>mdsal-binding-spi</artifactId>
</dependency>
<dependency>
- <groupId>javax.inject</groupId>
+ <groupId>com.guicedee.services</groupId>
<artifactId>javax.inject</artifactId>
<optional>true</optional>
</dependency>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <instructions>
- <Automatic-Module-Name>org.opendaylight.mdsal.binding.util</Automatic-Module-Name>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<scm>
<connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
<developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
--- /dev/null
+/*
+ * Copyright (c) 2020 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
+ */
+module org.opendaylight.mdsal.binding.util {
+ exports org.opendaylight.mdsal.binding.util;
+
+ requires transitive org.opendaylight.mdsal.binding.api;
+ requires transitive org.opendaylight.mdsal.common.api;
+ requires org.opendaylight.mdsal.binding.spi;
+ requires org.opendaylight.yangtools.util;
+ requires org.slf4j;
+
+ // Annotations
+ requires static transitive org.eclipse.jdt.annotation;
+ requires static transitive javax.inject;
+ requires static com.github.spotbugs.annotations;
+}
* @author Michael Vorburger.ch & Stephen Kitt
*/
@Beta
-// Do *NOT* mark this as @Singleton, because users choose Impl; and as long as this in API, because of https://wiki.opendaylight.org/view/BestPractices/DI_Guidelines#Nota_Bene
+// Do *NOT* mark this as @Singleton, because users choose Impl; and as long as this in API, because of
+// https://wiki-archive.opendaylight.org/view/BestPractices/DI_Guidelines#Nota_Bene
public class RetryingManagedNewTransactionRunner extends RetryingManagedNewTransactionRunnerImpl {
-
/**
* Constructor.
* Please see the class level documentation above for more details about the threading model used.
* @throws NullPointerException if {@code dataBroker} is {@code null}.
*/
@Inject
- public RetryingManagedNewTransactionRunner(DataBroker dataBroker) {
+ public RetryingManagedNewTransactionRunner(final DataBroker dataBroker) {
super(new ManagedNewTransactionRunnerImpl(dataBroker));
}
* @param dataBroker the {@link DataBroker} from which transactions are obtained
* @param maxRetries the maximum number of retry attempts
*/
- public RetryingManagedNewTransactionRunner(DataBroker dataBroker, int maxRetries) {
+ public RetryingManagedNewTransactionRunner(final DataBroker dataBroker, final int maxRetries) {
super(new ManagedNewTransactionRunnerImpl(dataBroker), maxRetries);
}
* @param executor the {@link Executor} to asynchronously run any retry attempts in
* @param maxRetries the maximum number of retry attempts
*/
- public RetryingManagedNewTransactionRunner(DataBroker dataBroker, Executor executor, int maxRetries) {
+ public RetryingManagedNewTransactionRunner(final DataBroker dataBroker, final Executor executor,
+ final int maxRetries) {
super(new ManagedNewTransactionRunnerImpl(dataBroker), executor, maxRetries);
}
}