2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.netconf.test.tool.operations;
12 import org.opendaylight.netconf.api.capability.Capability;
13 import org.opendaylight.netconf.impl.SessionIdProvider;
14 import org.opendaylight.netconf.mapping.api.NetconfOperationService;
17 * Creator which enables testtool users to inject own.
18 * implementation of {@link NetconfOperationService}
20 public interface OperationsCreator {
23 * Creates instance of {@link NetconfOperationService} based on caller context.
27 * Provider's session context.
28 * @param netconfSessionIdForReporting
29 * Netconf SessionId for reporting
31 * Instance of {@link NetconfOperationService}.
33 NetconfOperationService getNetconfOperationService(Set<Capability> capabilities,
34 SessionIdProvider idProvider,
35 String netconfSessionIdForReporting);