Dictionary<String, Object> props = new Hashtable<String, Object>();
// Set the protocolPluginType property which will be used
// by SAL
- props.put("protocolPluginType", "STUB");
+ props.put(GlobalConstants.PROTOCOLPLUGINTYPE.toString(), "STUB");
c.setInterface(IPluginInReadService.class.getName(), props);
}
Dictionary<String, Object> props = new Hashtable<String, Object>();
// Set the protocolPluginType property which will be used
// by SAL
- props.put("protocolPluginType", "STUB");
+ props.put(GlobalConstants.PROTOCOLPLUGINTYPE.toString(), "STUB");
c.setInterface(IPluginInInventoryService.class.getName(), props);
}
}
Dictionary<String, Object> props = new Hashtable<String, Object>();
// Set the protocolPluginType property which will be used
// by SAL
- props.put("protocolPluginType", "STUB");
+ props.put(GlobalConstants.PROTOCOLPLUGINTYPE.toString(), "STUB");
c.setInterface(IPluginInFlowProgrammerService.class.getName(), props);
}
if (imp.equals(StubNodeFactory.class)) {
Dictionary<String, Object> props = new Hashtable<String, Object>();
// Set the protocolPluginType property which will be used
// by SAL
- props.put("protocolPluginType", "STUB");
+ props.put(GlobalConstants.PROTOCOLPLUGINTYPE.toString(), "STUB");
props.put("protocolName", "STUB");
c.setInterface(INodeFactory.class.getName(), props);
}
Dictionary<String, Object> props = new Hashtable<String, Object>();
// Set the protocolPluginType property which will be used
// by SAL
- props.put("protocolPluginType", "STUB");
+ props.put(GlobalConstants.PROTOCOLPLUGINTYPE.toString(), "STUB");
props.put("protocolName", "STUB");
c.setInterface(INodeConnectorFactory.class.getName(), props);
}