Merge "Bug 116 - Revisit SanityTest"
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / spi / Module.java
index 01f81a3d56260747d5245bef9b1c8698c2a5a226..dd11b7503f0e09d8af7710cf89bd6ccdaab0ec74 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.controller.config.spi;
 import javax.annotation.concurrent.NotThreadSafe;
 
 import org.opendaylight.controller.config.api.ModuleIdentifier;
-import org.opendaylight.controller.config.api.annotations.RequireInterface;
+import org.opendaylight.yangtools.concepts.Identifiable;
 
 
 /**
@@ -28,7 +28,7 @@ import org.opendaylight.controller.config.api.annotations.RequireInterface;
  * </p>
  */
 @NotThreadSafe
-public interface Module {
+public interface Module extends Identifiable<ModuleIdentifier>{
     /**
      * This method will be called as first phase in two phase commit. Instance
      * can check attributes, but is not allowed to do any kind of work that
@@ -55,6 +55,4 @@ public interface Module {
      */
     AutoCloseable getInstance();
 
-    ModuleIdentifier getName();
-
 }