Context and actions

Our Context Manager also mediates context actions via its context action interface enabling applications to request and execute actions within a given context. An example could be one application asking another to navigate to a specific view maintaining the overall context.

Actions

Context Actions are a mechanism by which applications may perform actions initiated by other applications operating within the same context. It can be compared to RPC but with the added benefits of occurring with the same security-guaranties and with the complete context of all particpating applications available.

Context actions are thus always executed within the scope of a context and can only occur when the context itself is stable (no ongoing transactions).

Action Flow

The normal flow of executing a context action is as follows:

  1. Context Participant (application #1) requests action A be executed.
  2. Context Manager finds Action Agent (application #2) which is able to execute the action.
  3. Context Manager requests Action Agent to execute action A.
  4. Action agent executes the action (this can involve user interation).
  5. Action agent returns result to Context Manager which in turn forwards it to the initiating partipant (application #1).