Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Instantiating the NIC Proxy

    To enable the application to instantiate a NIC proxy:

    • Call the following method:
      NIC nicProxy = nicFactory.getNicComponent(nicNameSpace, configMgr)

      Alternatively, if the expected data value (specified for the property nic.value in the NIC proxy configuration) is an SAE reference, you can call the following method:

      SaeLocator nicProxy = nicFactory.getSaeLocator(nicNameSpace, configMgr);
      • nicFactory—Instance of the NIC factory
      • nicNameSpace—String that specifies the configuration namespace where you defined the properties for the NIC proxy
        • If you define the NIC properties in the bootstrap file, specify the root namespace, “/”.
          NIC nicProxy = nicFactory.getNicComponent("/", configMgr)
        • If you define the properties in the directory, specify the namespace relative to the property, which you specified in the bootstrap file.
          NIC nicProxy = nicFactory.getNicComponent("/Applications/Quota", configMgr)
      • configMgr—Instance of the configuration manager, the value returned from the getConfigMgr() method

    Modified: 2014-06-11