AboutSupportDeveloper GuideVersion 41.129.83.2

An ExternalApplication object representing native language adapter connections to the runtime. Allows the developer to listen to external application events. Discovery of connections is provided by getAllExternalApplications.

Processes that can be wrapped as ExternalApplications include the following:

  • Processes which have connected to an OpenFin runtime via an adapter
  • Processes started via System.launchExternalApplication
  • Processes monitored via System.monitorExternalProcess

Hierarchy

Properties

Accessors

  • get me(): Identity
  • Returns Identity

    me should only be accessed from the fin global (FinApi.me); access through entity classes is not guaranteed to behave sensibly in all calling contexts.

Methods

  • Returns (string | symbol)[]

  • Retrieves information about the external application.

    Returns Promise<ExternalApplicationInfo>

    async function getInfo() {
    const extApp = await fin.ExternalApplication.wrap('javaApp-uuid');
    return await extApp.getInfo();
    }
    getInfo().then(info => console.log(info)).catch(err => console.log(err));
  • Parameters

    • type: string | symbol

    Returns number

  • Parameters

    • type: string | symbol

    Returns Function[]

  • Removes all listeners, or those of the specified event.

    Parameters

    • OptionaleventType: "connected" | "disconnected"

    Returns Promise<ExternalApplication>