YANG revision dates mass-update
[bgpcep.git] / bmp / bmp-spi / src / main / java / org / opendaylight / protocol / bmp / spi / registry / BmpTlvRegistrator.java
index ae37bfb333517e81112b479e0e48e7a509f8681d..4c3f125c1411f4e4d9d64255572c586cd74e4021 100644 (file)
@@ -5,16 +5,16 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.protocol.bmp.spi.registry;
 
 import org.opendaylight.protocol.bmp.spi.parser.BmpTlvParser;
 import org.opendaylight.protocol.bmp.spi.parser.BmpTlvSerializer;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev180329.Tlv;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.Tlv;
+import org.opendaylight.yangtools.concepts.Registration;
 
 public interface BmpTlvRegistrator {
 
-    AutoCloseable registerBmpTlvParser(int tlvType, BmpTlvParser parser);
+    Registration registerBmpTlvParser(int tlvType, BmpTlvParser parser);
 
-    AutoCloseable registerBmpTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer);
+    Registration registerBmpTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer);
 }