NodeFactory service 99/399/2
authorKalvin Hom <kahom@cisco.com>
Tue, 28 May 2013 23:41:12 +0000 (16:41 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 28 May 2013 23:47:45 +0000 (23:47 +0000)
commit27152eea5daa9611915b162425970d67594a1bc1
treec47a117b817f546b3a1f10222434a94c2c8e594c
parent751815bcd2a819ad0f94fdf7a8110eb3c9b3908b
NodeFactory service

Added INodeFactory interface in SAL to
handle creation of different Node types;

Node will use INodeFactory to create Nodes
that are not one of the preset types;

StubNodeFactory for plugin stub creates
Nodes of STUB type;

Change-Id: I727eb7e4eae8daacf732b0856f6d0cc1d55ba749
Signed-off-by: Kalvin Hom <kahom@cisco.com>
opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/Activator.java
opendaylight/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java [new file with mode: 0644]
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Node.java
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/utils/INodeFactory.java [new file with mode: 0644]