Instantiating a Configuration Manager
The application must instantiate a configuration manager.
To enable the application to instantiate a configuration manager to obtain a NIC instance from the NIC factory:
Call one of the following methods:
For some applications (other than Web applications), in which you must define the system property -DConfig.bootstrapFilename, you can call the following method:ConfigMgr configMgr = ConfigMgrFactory.getConfigMgr();
For Web applications, you can instantiate the configuration manager as follows:ConfigMgr configMgr = ConfigMgrFactory.getConfigMgr(properties);
properties—java.util.Properties object, typically the bootstrap file, which contains all the configuration properties for the NIC proxy.