Merge "BUG 1839 - HTTP delete of non existing data"
[controller.git] / opendaylight / md-sal / statistics-manager / src / test / java / org / opendaylight / controller / md / statistics / manager / StatisticsManagerProvider.java
1 /**
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.md.statistics.manager;
10
11 /**
12  * statistics-manager
13  * org.opendaylight.controller.md.statistics.manager
14  *
15  *
16  *
17  * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
18  *
19  * Created: Sep 6, 2014
20  */
21 public class StatisticsManagerProvider {
22
23     private final StatisticsManagerActivator activator;
24
25     public StatisticsManagerProvider(final StatisticsManagerActivator activator) {
26         this.activator = activator;
27     }
28
29     /**
30      * Method provides Initialized {@link StatisticsManager}
31      * from {@link StatisticsManagerActivator} for all tests
32      * suites;
33      *
34      * @return
35      */
36     public StatisticsManager getStatisticsManager() {
37         return activator.getStatisticManager();
38     }
39 }