Software component execution management using context objects for tracking externally-defined intrinsic properties of executing software components within an execution environment
First Claim
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.
2 Assignments
0 Petitions
Accused Products
Abstract
A run-time executive of an object management system for managing execution of software components in an object execution environment uses a component context object to store intrinsic context properties related to an associated component. The run-time executive maintains an implicit association of the component context object with the application component. For example, the context properties can include a client id, an activity id, and a transaction reference. The component context object also provides an interface accessible to the associated component, with member functions for use in transaction processing, in creating additional other application components inheriting component'"'"'s context properties, and in access control based on abstract user classes (roles).
331 Citations
54 Claims
-
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, and maintaining 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 Dependent Claims (2)
-
-
3. In a computer having object-execution system code, a method of managing execution of software components in an object execution environment, the method comprising:
-
supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a 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 wherein the set of properties comprises a transaction reference indicative of a transaction encompassing data processing work of the requested software component instance, supplying to the immediate client a reference to the requested software component instance, and maintaining by the run-time executive an implicit association of the component context object to the requested software component instance; exposing an interface of the component context object to the requested software component instance, the component context object interface having a plurality of method members for invocation by the requested software component instance to indicate a condition of the data processing work by the requested software component instance in the transaction; and invoking by the requested software component instance specific of the method members of the component context object interface prior to return from data processing work in the transaction to indicate the data processing work'"'"'s condition; wherein the method is computer implemented. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. In a computer having object-execution system code, a method of managing execution of software components in an object execution environment, the method comprising:
-
supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a 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, and maintaining 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 in a second component context object wherein the second component context object is associated with the immediate client executing in the object execution environment; and issuing by the immediate client a method invocation to a create instance method member of an interface supported on the second component context object to thereby request creation of the requested software component instance; wherein the method is computer implemented.
-
-
15. In a computer having object-execution system code, a method of managing execution of software components in an object execution environment wherein the computer further has a security facility requiring a user to log-on under one of a plurality of user identities configured on the respective computer system, at least some of the software components in the object execution environment form at least part of a component-based application program having defined therein a set of abstract user classes and access privileges of the abstract user classes, the computer having an administrative configuration associating the user identities to the abstract user classes and having an access control for enforcing access limitation of a user whose user identity is associated in any of the abstract user classes to the access privileges of the associated abstract user class, the method comprising:
-
supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a 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, and maintaining by the run-time executive an implicit association of the component context object to the requested software component instance; exposing an interface of the component context object to the requested software component instance, the component context object interface having a method member for programmatically querying whether a caller is executing on behalf of a user associated in a specified abstract user class; and in response to invocation of the method member by the requested software component instance which invocation specifies a particular abstract user class, returning an indication of whether a caller of the requested software component instance executes on behalf of a user associated in the particular abstract user class; wherein the method is computer implemented. - View Dependent Claims (16)
-
-
17. In a computer, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive comprising:
-
program code supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment; program code operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client; program code for maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance; and program code implementing an interface of the component context object exposed to the requested software component instance, the interface having a transaction completion indication method member for invocation by the requested software component instance prior to return from data processing work for the immediate client to provide an indication to the software component execution runtime executive that the data processing work has been successfully completed; wherein program code is computer executed. - View Dependent Claims (18, 19)
-
-
20. In a computer, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive comprising:
-
program code supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment; program code operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client; program code for maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance; and program code implementing an interface of the component context object exposed to the requested software component instance, the interface having a transaction abort indication method member for invocation by the requested software component instance prior to return from data processing work for the immediate client to provide an indication to the software component execution runtime executive that the data processing work has been unsuccessfully completed; wherein program code is computer executed. - View Dependent Claims (21, 22)
-
-
23. In a computer, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive comprising:
-
program code supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment; program code operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client; program code for maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance; and program code implementing an interface of the component context object exposed to the requested software component instance, the interface having a transaction disable indication method member for invocation by the requested software component instance prior to return from data processing work for the immediate client to provide an indication to the software component execution runtime executive that the data processing work should not be committed pending further processing; wherein program code is computer executed. - View Dependent Claims (24, 25)
-
-
26. In a computer, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive comprising:
-
program code supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment; program code operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client; program code for maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance; program code implementing an interface of the component context object exposed to the requested software component instance, the interface having a query transaction participation method member for invocation by the requested software component instance; and program code operating responsive to the invocation of the query transaction participation method member by the requested software component instance to provide information back to the requested software component instance whether data processing work of the requested software component instance forms part of a transaction; wherein program code is computer executed.
-
-
27. In a computer, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive comprising:
-
program code supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment; program code operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client; program code for maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance; program code implementing an interface of the component context object exposed to the requested software component instance, the interface having a query role membership method member for invocation by the requested software component instance to programmatically control access; and program code operating responsive to the invocation of the query role membership method member by the requested software component instance to provide information back to the requested software component instance indicative of whether a user on whose behalf the requested software component instance is executing is associated in a specified role, wherein the role is an abstract class of users defined for a component-based application program and associated to user identities employed in a security facility of the computer; wherein program code is computer executed.
-
-
28. In a computer system having object-execution system code managing execution of software components in an object execution environment, the computer system comprising:
-
means for supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a software component instance in the object execution environment, means for 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, means for supplying to the immediate client a reference to the requested software component instance, and means for maintaining by the run-time executive an implicit association of the component context object to the requested software component instance wherein the 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; means for setting the properties in the component context object of the requested software component instance based on those in the second component context object wherein a second component context object is associated with the immediate ancestor software component for the requested software component instance, 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; means for 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; means for 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 said means are computer implemented. - View Dependent Claims (29)
-
-
30. In a computer system having object-execution system code managing execution of software components in an object execution environment, the computer system comprising:
-
means for supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a software component instance in the object execution environment, means for 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, means for supplying to the immediate client a reference to the requested software component instance, and means for maintaining by the run-time executive an implicit association of the component context object to the requested software component instance; means for exposing an interface of the component context object to the requested software component instance, the component context object interface having a plurality of method members for invocation by the requested software component instance to indicate a condition of the data processing work by the requested software component instance in a transaction; and means for invoking by the requested software component instance specific of the method members of the component context object interface prior to return from data processing work in the transaction to indicate the data processing work'"'"'s condition wherein the set of properties comprises a transaction reference indicative of the transaction encompassing data processing work of the requested software component instance; wherein said means are computer implemented. - View Dependent Claims (31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
-
41. In a computer system having object-execution system code managing execution of software components in an object execution environment, the computer system comprising:
-
means for supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a software component instance in the object execution environment, means for 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, means for supplying to the immediate client a reference to the requested software component instance, and means for maintaining by the run-time executive an implicit association of the component context object to the requested software component instance; means for setting the properties in the component context object of the requested software component instance based on those in the second component context object; and means for issuing by the immediate client a method invocation to a create instance method member of an interface supported on a second component context object to thereby request creation of the requested software component instance wherein the second component context object is associated with the immediate client executing in the object execution environment; wherein said means are computer implemented.
-
-
42. In a computer system having object-execution system code managing execution of software components in an object execution environment, a security facility requiring a user to log-on under one of a plurality of user identities configured on the respective computer system, at least some of the software components in the object execution environment form at least part of a component-based application program having defined therein a set of abstract user classes and access privileges of the abstract user classes, the computer having an administrative configuration associating the user identities to the abstract user classes and having an access control for enforcing access limitation of a user whose user identity is associated in any of the abstract user classes to the access privileges of the associated abstract user class, the computer system comprising:
-
means for supporting an object execution environment from a system-provided run-time executive; and responsive to a request from an immediate client to the run-time executive to create a software component instance in the object execution environment, means for 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, means for supplying to the immediate client a reference to the requested software component instance, and means for maintaining by the run-time executive an implicit association of the component context object to the requested software component instance; means for exposing an interface of the component context object to the requested software component instance, the component context object interface having a method member for programmatically querying whether a caller is executing on behalf of a user associated in a specified abstract user class; and in response to invocation of the method member by the requested software component instance which invocation specifies a particular abstract user class, means for returning an indication of whether a caller of the requested software component instance executes on behalf of a user associated in the particular abstract user class; wherein said means are computer implemented. - View Dependent Claims (43)
-
-
44. In a computer system comprising:
-
a digital processor; volatile and non-volatile memory coupled to the digital processor; and the memory having program code for executing on the digital processor, the program code comprising, software components, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive performing a method comprising, supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment, operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client, maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance, and implementing an interface of the component context object exposed to the requested software component instance, the interface having a transaction completion indication method member for invocation by the requested software component instance prior to return from data processing work for the immediate client to provide an indication to the software component execution runtime executive that the data processing work has been successfully completed. - View Dependent Claims (45, 46)
-
-
47. In a computer system comprising:
-
a digital processor; volatile and non-volatile memory coupled to the digital processor; and the memory having program code for executing on the digital processor, the program code comprising, software components, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive performing a method comprising, supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment, operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client, maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance, and implementing an interface of the component context object exposed to the requested software component instance, the interface having a transaction abort indication method member for invocation by the requested software component instance prior to return from data processing work for the immediate client to provide an indication to the software component execution runtime executive that the data processing work has been unsuccessfully completed. - View Dependent Claims (48, 49)
-
-
50. In a computer system comprising:
-
a digital processor; volatile and non-volatile memory coupled to the digital processor; and the memory having program code for executing on the digital processor, the program code comprising, software components, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive performing a method comprising, supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment, operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client, maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance, and implementing an interface of the component context object exposed to the requested software component instance, the interface having a transaction disable indication method member for invocation by the requested software component instance prior to return from data processing work for the immediate client to provide an indication to the software component execution runtime executive that the data processing work should not be committed pending further processing. - View Dependent Claims (51, 52)
-
-
53. In a computer system comprising:
-
a digital processor; volatile and non-volatile memory coupled to the digital processor; and the memory having program code for executing on the digital processor, the program code comprising, software components, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive performing a method comprising, supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment, operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client, and maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance, implementing an interface of the component context object exposed to the requested software component instance, the interface having a query transaction participation method member for invocation by the requested software component instance, and operating responsive to the invocation of the query transaction participation method member by the requested software component instance to provide information back to the requested software component instance whether data processing work of the requested software component instance forms part of a transaction.
-
-
54. In a computer system comprising:
-
a digital processor; volatile and non-volatile memory coupled to the digital processor; and the memory having program code for executing on the digital processor, the program code comprising, software components, a software component execution runtime executive for providing services to support execution of software components in an object execution environment, the runtime executive performing a method comprising, supplying an implementation of component context objects for accompanying individual instances of the software components executing in the object execution environment, the component context objects having stored therein a set of context properties intrinsic to their respective accompanied individual software component instance and relating to managing execution of the accompanied individual software component instance within the object execution environment, operating responsive to a request of an immediate client for creation of an instance of a request-specified software component to cause creation of a component context object to accompany the requested software component instance and to return a requested software component instance reference back to the immediate client, and maintaining an implicit association of the created component context object with the requested software component instance throughout a lifetime of the requested software component instance, implementing an interface of the component context object exposed to the requested software component instance, the interface having a query role membership method member for invocation by the requested software component instance to programmatically control access, and operating responsive to the invocation of the query role membership method member by the requested software component instance to provide information back to the requested software component instance indicative of whether a user on whose behalf the requested software component instance is executing is associated in a specified role, wherein the role is an abstract class of users defined for a component-based application program and associated to user identities employed in a security facility of the computer.
-
Specification