2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.data.change.counter;
10 import org.opendaylight.mdsal.binding.api.DataBroker;
11 import org.osgi.service.component.annotations.Activate;
12 import org.osgi.service.component.annotations.Component;
13 import org.osgi.service.component.annotations.Deactivate;
14 import org.osgi.service.component.annotations.Reference;
15 import org.slf4j.Logger;
16 import org.slf4j.LoggerFactory;
18 @Component(immediate = true)
19 public final class OSGiTopologyDataChangeCounterDeployer {
20 private static final Logger LOG = LoggerFactory.getLogger(OSGiTopologyDataChangeCounterDeployer.class);
23 DataBroker dataBroker;
25 private TopologyDataChangeCounterDeployer deployer;
29 deployer = new TopologyDataChangeCounterDeployer(dataBroker);
31 LOG.info("Topolocy data change counter activated");
38 LOG.info("Topolocy data change counter deactivated");