Convert TlsAllowedDevicesMonitorImpl to OSGi DS
[netconf.git] / netconf / callhome-protocol / src / main / java / org / opendaylight / netconf / callhome / protocol / tls / TlsAllowedDevicesMonitor.java
index 5c71dde4e9ecf25c44a1685468d0a3886a2f3b02..a5661bad6d2b49fdfd634473669656dbd59da132 100644 (file)
@@ -11,8 +11,7 @@ import java.security.PublicKey;
 import java.util.Optional;
 import java.util.Set;
 
-public interface TlsAllowedDevicesMonitor extends AutoCloseable {
-
+public interface TlsAllowedDevicesMonitor {
     /**
      * Returns a Call-Home Device ID by the public key.
      */
@@ -22,8 +21,4 @@ public interface TlsAllowedDevicesMonitor extends AutoCloseable {
      * Returns a set of IDs for the keys associated with Call-Home devices.
      */
     Set<String> findAllowedKeys();
-
-    @Override
-    void close();
-
 }