f586e34bf9e791c89bff7a9990bbbdb48502db36
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / route / impl / src / main / java / com / highstreet / technologies / odl / app / impl / tools / DataBrokerHolder.java
1 /*
2  * Copyright © 2015 ZTE 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 package com.highstreet.technologies.odl.app.impl.tools;
9
10 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
11
12 /**
13  * Created by olinchy on 6/15/17.
14  */
15 public class DataBrokerHolder
16 {
17     private static DataBroker dataBroker;
18
19     public static DataBroker getDataBroker()
20     {
21         return dataBroker;
22     }
23
24     public static void setDataBroker(DataBroker dataBroker)
25     {
26         DataBrokerHolder.dataBroker = dataBroker;
27     }
28 }