Yuta HIGUCHI

bugfix @Activate -> @Deactivate

Change-Id: I38b4c86e20275f36e201cfa41a311c86b1dfe95f
package org.onlab.onos.store.service;
/**
* Exception thrown when an operation (read or write) is requested for
* a table that does not exist.
......
package org.onlab.onos.store.service;
/**
* Exception that indicates a precondition failure.
* Scenarios that can cause this exception:
......
package org.onlab.onos.store.service;
/**
* Exception that indicates a write operation is aborted.
* Aborted operations do not mutate database state is any form.
......
......@@ -15,6 +15,7 @@ import net.kuujo.copycat.log.ChronicleLog;
import net.kuujo.copycat.log.Log;
import org.apache.felix.scr.annotations.Activate;
import org.apache.felix.scr.annotations.Deactivate;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.ReferenceCardinality;
import org.onlab.netty.Endpoint;
......@@ -91,9 +92,10 @@ public class DatabaseManager implements DatabaseService, DatabaseAdminService {
log.info("Started.");
}
@Activate
@Deactivate
public void deactivate() {
copycat.stop();
log.info("Stopped.");
}
@Override
......