Migrate common module to Aluminium Step 2
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / 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.common;
9
10 import org.opendaylight.mdsal.binding.api.DataBroker;
11 import org.opendaylight.mdsal.binding.api.NotificationPublishService;
12 import org.opendaylight.mdsal.binding.api.NotificationService;
13 import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer;
14 import org.opendaylight.mdsal.dom.api.DOMDataBroker;
15 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
16
17 public interface DataStoreContext {
18
19     DataBroker getDataBroker();
20
21     DOMDataBroker getDOMDataBroker();
22
23     NotificationService createNotificationService();
24
25     NotificationPublishService createNotificationPublishService();
26
27     EffectiveModelContext getSchemaContext();
28
29     BindingNormalizedNodeSerializer getBindingToNormalizedNodeCodec();
30
31     NotificationService getNotificationService();
32
33     NotificationPublishService getNotificationPublishService();
34
35 }