To pass a reference to the configuration manager to the NIC factory class:
NicFactory.setConfigManager(configMgr);