creates common test functions
[transportpce.git] / test-common / src / main / java / org / opendaylight / transportpce / test / common / DataStoreContext.java
1 /*
2  * Copyright © 2016 AT&T 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 org.opendaylight.transportpce.test.common;
9
10 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
11 import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
12 import org.opendaylight.controller.md.sal.binding.api.NotificationService;
13 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
14 import org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry;
15 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
16
17 public interface DataStoreContext {
18
19     DataBroker getDataBroker();
20
21     DOMDataBroker getDOMDataBroker();
22
23     NotificationService createNotificationService();
24
25     NotificationPublishService createNotificationPublishService();
26
27     SchemaContext getSchemaContext();
28
29     BindingNormalizedNodeCodecRegistry getBindingToNormalizedNodeCodec();
30
31     NotificationService getNotificationService();
32
33     NotificationPublishService getNotificationPublishService();
34
35 }