serverName

serverName(): String;

The serverName method of the Application class returns the name of the server that is in use for the JADE application, as specified in the program target (command line) options when JADE was executed.

An exception is raised if this method is invoked from a server method.