.TransactionModuleJMXRegistration;
import org.opendaylight.controller.config.spi.Module;
import org.opendaylight.controller.config.spi.ModuleFactory;
-import org.opendaylight.protocol.concepts.NamedObject;
-public class ModuleInternalTransactionalInfo implements
- NamedObject<ModuleIdentifier> {
+public class ModuleInternalTransactionalInfo {
private final ModuleIdentifier name;
private final Module module;
private final ModuleFactory moduleFactory;
this.transactionModuleJMXRegistration = transactionModuleJMXRegistration;
}
- @Override
public ModuleIdentifier getName() {
return name;
}
public DestroyedModule toDestroyedModule() {
if (maybeOldInternalInfo == null) {
- throw new IllegalStateException("Cannot destoy uncommitted module");
+ throw new IllegalStateException("Cannot destroy uncommitted module");
}
DynamicReadableWrapper oldModule = maybeOldInternalInfo
.getReadableModule();