<parent>
<groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-parent</artifactId>
+ <artifactId>bnd-parent</artifactId>
<version>8.0.0-SNAPSHOT</version>
- <relativePath>../../parent</relativePath>
+ <relativePath>../../bnd-parent</relativePath>
</parent>
<artifactId>restconf-server-spi</artifactId>
+ <packaging>jar</packaging>
<name>${project.artifactId}</name>
- <packaging>bundle</packaging>
<description>RESTCONF server SPI</description>
<dependencies>
// Annotation-only dependencies
requires static transitive org.eclipse.jdt.annotation;
requires static com.github.spotbugs.annotations;
+ requires static org.osgi.annotation.bundle;
}
import java.util.Set;
import java.util.regex.Pattern;
import javax.xml.xpath.XPathExpressionException;
-import org.checkerframework.checker.lock.qual.GuardedBy;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
import org.opendaylight.restconf.server.api.EventStreamGetParams;
@SuppressFBWarnings(value = "URF_UNREAD_FIELD", justification = "https://github.com/spotbugs/spotbugs/issues/2749")
private volatile Subscribers<T> subscribers = Subscribers.empty();
- @GuardedBy("this")
private Registration registration;
RestconfStream(final AbstractRestconfStreamRegistry registry, final Source<T> source, final String name) {
/**
* Interface towards RestconfServer implementations.
*/
+@org.osgi.annotation.bundle.Export
package org.opendaylight.restconf.server.spi;
\ No newline at end of file