Skip to main content
Version: 2026.0

plugin

Methods

run

run(pJarURL, pClassName, pArguments): any[]

Runs a plugin on the server. A plugin is a Java class or a small, custom Java program that can be integrated into ADITO.

To execute a plugin on the client, use the swing.doClient* command.

For comprehensive information on ADITO plugins, please refer to the ADITO information document (AID) 4.

Parameters

pJarURL
string | number | boolean

The URL of the .jar file where the plugin resides. The file can be found in the class path of the server.

pClassName
string | number | boolean

Class name of the plugin, including the complete package details (de.adito.plugins.awesomenessReloaded).

pArguments
any[]

The arguments to be passed to the plugin.

Returns

any[]

The results returned by the plugin.

Throws

May throw an exception.


Example

var pluginRet = plugin.run("file:///c:/plugins/awesome.jar", "de.adito.plugins.awesomenessReloaded", ["End", "21.12.2018"]);

runWithAlias

runWithAlias(pAliasName, pClassName, pArguments): any[]

Runs a plugin on the remote service specified by the given alias.

If the Alias is not found, adito tries to search for the plugin on the class path.

A plugin is a Java class or a small, custom Java program that can be integrated into ADITO.

For comprehensive information on ADITO plugins, please refer to the ADITO information document (AID) 4.

Parameters

pAliasName
string | number | boolean

The name of the plugin alias, at which the call is delegated.

pClassName
string | number | boolean

Class name of the plugin, including the complete package details (de.adito.plugins.awesomenessReloaded).

pArguments
any[]

The arguments to be passed to the plugin.

Returns

any[]

The results returned by the plugin.

Throws

May throw an exception.

Example

var pluginRet = plugin.runWithAlias("AwesomePluginAlias", "de.adito.plugins.awesomenessReloaded", ["End", "21.12.2018"]);