Jian Li
Committed by Gerrit Code Review

Remove app registration logic from deativate method and add logs

Change-Id: I0fd58e8deeaf2dbf8975dc9ee399a35dbdd326b9
......@@ -192,11 +192,11 @@ public class AaaManager {
new ThreadFactoryBuilder()
.setNameFormat("AAA-radius-%d").build());
executor.execute(radiusListener);
log.info("Started");
}
@Deactivate
public void deactivate() {
appId = coreService.registerApplication("org.onosproject.aaa");
withdrawIntercepts();
// de-register and null our handler
packetService.removeProcessor(processor);
......@@ -204,6 +204,7 @@ public class AaaManager {
StateMachine.destroyMaps();
radiusSocket.close();
executor.shutdownNow();
log.info("Stopped");
}
protected void sendRadiusPacket(RADIUS radiusPacket) {
......