X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-util%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Futil%2FTestingConfigTransactionController.java;h=44eb73af79e9c098b343ec7a4debb995e6e44337;hp=67e31b05e5f065e71639ad38d01759c8d8af6380;hb=d1ab4c3ea79bcd74e02aa9334bc660cb7fc6d037;hpb=9fb64948564e252018f9b1e13e7cea2c92f991aa diff --git a/opendaylight/config/config-util/src/test/java/org/opendaylight/controller/config/util/TestingConfigTransactionController.java b/opendaylight/config/config-util/src/test/java/org/opendaylight/controller/config/util/TestingConfigTransactionController.java index 67e31b05e5..44eb73af79 100644 --- a/opendaylight/config/config-util/src/test/java/org/opendaylight/controller/config/util/TestingConfigTransactionController.java +++ b/opendaylight/config/config-util/src/test/java/org/opendaylight/controller/config/util/TestingConfigTransactionController.java @@ -7,6 +7,7 @@ */ package org.opendaylight.controller.config.util; +import java.util.Map; import java.util.Set; import javax.management.InstanceAlreadyExistsException; @@ -22,7 +23,7 @@ import com.google.common.collect.Sets; public class TestingConfigTransactionController implements ConfigTransactionControllerMXBean { - private final ObjectName conf1, conf2, conf3; + public final ObjectName conf1, conf2, conf3; public static final String moduleName1 = "moduleA"; public static final String moduleName2 = "moduleB"; @@ -109,4 +110,59 @@ public class TestingConfigTransactionController implements return null; } } + + @Override + public void checkConfigBeanExists(ObjectName objectName) throws InstanceNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override + public void saveServiceReference(String serviceInterfaceName, String refName, ObjectName objectName) throws InstanceNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override + public boolean removeServiceReference(String serviceInterfaceName, String refName) { + throw new UnsupportedOperationException(); + } + + @Override + public void removeAllServiceReferences() { + throw new UnsupportedOperationException(); + } + + @Override + public ObjectName lookupConfigBeanByServiceInterfaceName(String serviceInterfaceName, String refName) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> getServiceMapping() { + throw new UnsupportedOperationException(); + } + + @Override + public Map lookupServiceReferencesByServiceInterfaceName(String serviceInterfaceName) { + throw new UnsupportedOperationException(); + } + + @Override + public Set lookupServiceInterfaceNames(ObjectName objectName) throws InstanceNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override + public String getServiceInterfaceName(String namespace, String localName) { + throw new UnsupportedOperationException(); + } + + @Override + public boolean removeServiceReferences(ObjectName objectName) throws InstanceNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override + public Set getAvailableModuleFactoryQNames() { + throw new UnsupportedOperationException(); + } }