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%2FStubNodeFactory.java;h=25382429fd7126c595d76a2702250be76a96e036;hb=ff1b4a79cca00743a00c3b0b1100bd0ab2b2fb31;hp=c2ce473303632b90602986b806690a5f225146e4;hpb=7a985431a47d1dcee82fc77e2afcfec5f322476c;p=controller.git diff --git a/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java b/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java index c2ce473303..25382429fd 100644 --- a/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java +++ b/opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java @@ -13,7 +13,7 @@ public class StubNodeFactory implements INodeFactory * 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 +21,7 @@ public class StubNodeFactory implements INodeFactory /** * 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,12 +30,12 @@ public class StubNodeFactory implements INodeFactory * 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 Node fromString(String nodeId, String nodeType){ + + public Node fromString(String nodeType, String nodeId){ if(nodeType.equals("STUB")) try{ return new Node("STUB", Integer.parseInt(nodeId));