getIniFileName

getIniFileName(): String;

The getIniFileName method of the Process 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).

A method on a specific process instance performs its action on the owning node (that is, a process.node instance) if the process is not associated with a presentation client. If the process has an associated presentation client, the action is performed on the presentation client. The presentation client does not have to be the current presentation client or a presentation client attached to the same application server.

Use the Application class getIniFileNameAppServer method or Node class getIniFileName method to obtain the file from the application server.

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 process was started, the active JADE initialization file is the one that was specified when the process started up and not the one specified in the newcopy=false shortcut.

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