X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fstub%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugins%2Fstub%2Finternal%2FStubNodeConnectorFactory.java;h=743c4a54e7bf6e6ceb738af694d6156a34a9536e;hb=6fd408a04fe4a3611843e2246ece6d7c34b76903;hp=0c1963d93396aa9be2bea92600e55f58fde2ed6d;hpb=d04b927ef78082525c3b0738126b6eb12e4a7a74;p=controller.git diff --git a/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeConnectorFactory.java b/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeConnectorFactory.java index 0c1963d933..743c4a54e7 100644 --- a/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeConnectorFactory.java +++ b/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeConnectorFactory.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ package org.opendaylight.controller.protocol_plugins.stub.internal; import org.opendaylight.controller.sal.core.NodeConnector; @@ -13,7 +20,7 @@ public class StubNodeConnectorFactory implements INodeConnectorFactory * Function called by the dependency manager when at least one dependency * become unsatisfied or when the component is shutting down because for * example bundle is being stopped. - * + * */ void destroy() { } @@ -21,7 +28,7 @@ public class StubNodeConnectorFactory implements INodeConnectorFactory /** * Function called by dependency manager after "init ()" is called and after * the services provided by the class are registered in the service registry - * + * */ void start() { } @@ -30,11 +37,11 @@ public class StubNodeConnectorFactory implements INodeConnectorFactory * Function called by the dependency manager before the services exported by * the component are unregistered, this will be followed by a "destroy ()" * calls - * + * */ void stop() { } - + public NodeConnector fromStringNoNode(String typeStr, String IDStr, Node n){ if(typeStr.equals("STUB")){