[Contents] [Prev] [Next] [Index] [Report an Error]

# 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.

#### Related Topics

- Passing a Reference to the Configuration Manager to the NIC Factory
- Instantiating the NIC Factory Class
- Overview of NIC Configuration Scenarios

[Contents] [Prev] [Next] [Index] [Report an Error]