AboutSupportDeveloper GuideVersion 40.130.100.7

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

Hierarchy

  • Base
    • ExternalApplicationModule

Accessors

Methods

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

  • 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>

    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

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