Decouple config and netconf subsystems.
[controller.git] / opendaylight / netconf / config-netconf-connector / src / main / java / org / opendaylight / controller / netconf / confignetconfconnector / operations / AbstractConfigNetconfOperation.java
1 /*
2  * Copyright (c) 2013 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.netconf.confignetconfconnector.operations;
10
11 import org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade;
12 import org.opendaylight.controller.netconf.util.mapping.AbstractLastNetconfOperation;
13
14 public abstract class AbstractConfigNetconfOperation extends AbstractLastNetconfOperation {
15
16     private final ConfigSubsystemFacade configSubsystemFacade;
17
18     protected AbstractConfigNetconfOperation(ConfigSubsystemFacade configSubsystemFacade,
19             String netconfSessionIdForReporting) {
20         super(netconfSessionIdForReporting);
21         this.configSubsystemFacade = configSubsystemFacade;
22     }
23
24     public ConfigSubsystemFacade getConfigSubsystemFacade() {
25         return configSubsystemFacade;
26     }
27 }