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
8 package org.opendaylight.netconf.test.tool.operations;
11 import org.opendaylight.netconf.api.capability.Capability;
12 import org.opendaylight.netconf.server.api.SessionIdProvider;
13 import org.opendaylight.netconf.server.api.operations.NetconfOperationService;
16 * Creator which enables testtool users to inject own. implementation of {@link NetconfOperationService}
18 public interface OperationsCreator {
20 * Creates instance of {@link NetconfOperationService} based on caller context.
22 * @param capabilities Model capabilities.
23 * @param idProvider Provider's session context.
24 * @param netconfSessionIdForReporting Netconf SessionId for reporting
25 * @return Instance of {@link NetconfOperationService}.
27 NetconfOperationService getNetconfOperationService(Set<Capability> capabilities, SessionIdProvider idProvider,
28 String netconfSessionIdForReporting);