×

Software component execution management using context objects for tracking externally-defined intrinsic properties of executing software components within an execution environment

  • US 7,076,784 B1
  • Filed: 10/22/1999
  • Issued: 07/11/2006
  • Est. Priority Date: 10/28/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer having object-execution system code, a method of managing execution of software components in an object execution environment, wherein a software component instance is one of a set of ancestor/descendent-related software components, each of which being created in turn at request of its respective immediate ancestor software component of the set commencing with an original ancestor software component originally created at request of a base client, and wherein the set of properties comprises a client identifier indicative of the base client, and wherein each software component of the set of ancestor/descendent-related software components has a respective component context object whose properties are inherited based on those of a third component context object implicitly associated to the original ancestor software component, and wherein the set of properties of the third component context object comprises a transaction reference indicative of a transaction encompassing data processing work of the set of ancestor/descendent-related software components, the method comprising:

  • supporting an object execution environment from a system-provided run-time executive;

    responsive to a request from an immediate client to the run-time executive to create the software component instance in the object execution environment,creating a component context object having stored therein a set of properties intrinsic to the requested software component instance and relating to managing execution of the requested software component instance within the object execution environment by system-provided code,supplying to the immediate client a reference to the requested software component instance, andmaintaining by the run-time executive an implicit association of the component context object to the requested software component instance;

    setting the properties in the component context object of the requested software component instance based on those of a second component context object associated with the immediate ancestor software component for the requested software component instance;

    exposing an interface of the third component context object to the original ancestor software component, the component context object interface having a set complete indication method member and a set abort indication method member for invocation by the original ancestor software component, where the invocation of the set complete indication method member by the original ancestor software component is indicative of the set'"'"'s data processing work being in a complete condition in which the transaction can be committed, and where the invocation of the set abort method member by the original ancestor software component is indicative of the set'"'"'s data processing work being in a complete condition in which the transaction cannot properly be committed;

    invoking by the requested software component instance specific an appropriate one of the set complete indication or set abort indication method member of the third component context object interface prior to return from data processing work in the transaction that indicates the data processing work'"'"'s condition;

    where the set complete indication method member is invoked by the original ancestor software component prior to return from the data processing work, automatically attempting committal of the transaction without explicit programming instruction of the immediate client; and

    where the set abort indication method member is invoked by the original ancestor software component prior to return from the data processing work, automatically aborting the transaction without explicit programming instruction of the immediate client;

    wherein the method is computer implemented.

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