×

Framework for modeling cancellation for process-centric programs

  • US 20070239498A1
  • Filed: 03/30/2006
  • Published: 10/11/2007
  • Est. Priority Date: 03/30/2006
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for declaratively canceling an activity in a process-centric program, said method comprising:

  • defining a state automaton for the activity, said state automaton including an executing state, a canceling state, and a closed state, said state automaton classifying an execution lifetime of the activity;

    defining the activity to include the plurality of work items, said defined activity organizing the plurality of work items in an execution hierarchical structure, each of the work items including a method for executing a portion of the activity;

    transitioning the plurality of work items from the executing state to the closed state, said closed state indicating a completion of executing the activity;

    upon having one of the work items being transitioned to the closed state, transmitting a cancellation request to one or more of the work items currently in the executing state;

    identifying one or more work items in the executing state as a function of the transmitted cancellation request and the execution hierarchical structure of the defined activity; and

    canceling the execution lifetime of the activity by transitioning the one or more identified work items from the executing state to the canceling state.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×