2 * Copyright (c) 2014 Cisco Systems, Inc. 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
9 package org.opendaylight.controller.md.statistics.manager;
13 * org.opendaylight.controller.md.statistics.manager
17 * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
19 * Created: Sep 6, 2014
21 public class StatisticsManagerProvider {
23 private final StatisticsManagerActivator activator;
25 public StatisticsManagerProvider(final StatisticsManagerActivator activator) {
26 this.activator = activator;
30 * Method provides Initialized {@link StatisticsManager}
31 * from {@link StatisticsManagerActivator} for all tests
36 public StatisticsManager getStatisticsManager() {
37 return activator.getStatisticManager();