AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Class ExternalApplicationModule

    Static namespace for OpenFin API methods that interact with the ExternalApplication class, available under fin.ExternalApplication.

    Hierarchy

    • Base
      • ExternalApplicationModule
    Index
    • 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.

    • Asynchronously returns an External Application object that represents an external application.
      It is possible to wrap a process that does not yet exist, (for example, to listen for startup-related events) provided its uuid is already known.

      Parameters

      • uuid: string

        The UUID of the external application to be wrapped

      Returns Promise<ExternalApplication.ExternalApplication>

      fin.ExternalApplication.wrap('javaApp-uuid');
      .then(extApp => console.log('wrapped external application'))
      .catch(err => console.log(err));
    • Synchronously returns an External Application object that represents an external application.
      It is possible to wrap a process that does not yet exist, (for example, to listen for startup-related events) provided its uuid is already known.

      Parameters

      • uuid: string

        The UUID of the external application to be wrapped

      Returns ExternalApplication.ExternalApplication

      const extApp = fin.ExternalApplication.wrapSync('javaApp-uuid');
      const info = await extApp.getInfo();
      console.log(info);