BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set
[controller.git] / opendaylight / adsal / sal / api / src / main / java / org / opendaylight / controller / sal / utils / INodeConnectorFactory.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.utils;
11
12 import org.opendaylight.controller.sal.core.Node;
13 import org.opendaylight.controller.sal.core.NodeConnector;
14
15 /**
16  * This interface defines the methods to be called when looking up custom node types
17  *
18  */
19
20 public interface INodeConnectorFactory {
21     /**
22      * Method to get custom NodeConnector types from protocol plugins
23      *
24      * @param typeStr
25      *            {@Link
26      *            org.opendaylight.controller.sal.core.NodeConnector} type
27      *            string
28      * @param IDStr
29      *            {@Link
30      *            org.opendaylight.controller.sal.core.NodeConnector} ID string
31      * @return the custom {@Link
32      *         org.opendaylight.controller.sal.core.NodeConnector}
33      */
34     public NodeConnector fromStringNoNode(String typeStr, String IDStr,
35             Node n);
36 }