getIniFileName

getIniFileName(): String;

The getIniFileName method of the Node class returns the full path and file name of the JADE initialization file; for example:

c:\jade\system\jade.ini

The name of the JADE initialization file is returned in the form that it was entered on the command line. If no initialization file name was specified, JADE looks for an initialization file with the name jade.ini in the default location and either finds the file or creates it.

The name and full path of that default initialization file is returned with forward slash characters (for example, c:/jade/system/jade.ini).

The JADE initialization file is returned on the specified node instance, which does not have to be the current node. If you require the JADE initialization file on the current node, use the node environmental object (system variable).

In JADE thin client mode, this method returns the initialization file from the application server. Use the Application class getIniFileName method or the Process class getIniFileName to obtain the file from the thin client.

If you create a shortcut that has the newcopy parameter set to false and you specify a different JADE initialization file from the one with which the node was started, the active JADE initialization file is the one that was specified when the node started up and not the one specified in the newcopy=false shortcut.

Calling the getIniFileName method in a new application enables you to get the name of the initialization file that was used when the node started up.