5 package org.opendaylight.controller.protocol_plugin.packetcable.internal;
7 import org.opendaylight.controller.sal.core.NodeConnector;
8 import org.opendaylight.controller.sal.utils.INodeConnectorFactory;
9 import org.opendaylight.controller.sal.core.Node;
11 public class PCNodeConnectorFactory implements INodeConnectorFactory
17 * Function called by the dependency manager when at least one dependency
18 * become unsatisfied or when the component is shutting down because for
19 * example bundle is being stopped.
26 * Function called by dependency manager after "init ()" is called and after
27 * the services provided by the class are registered in the service registry
34 * Function called by the dependency manager before the services exported by
35 * the component are unregistered, this will be followed by a "destroy ()"
42 public NodeConnector fromStringNoNode(String typeStr, String IDStr,
44 if(typeStr.equals("PC")){
46 return new NodeConnector(typeStr, Integer.parseInt(IDStr), n);
47 } catch (Exception ex) {