Inter-object communication
First Claim
1. A method of managing interactions between objects in an object oriented computing environment, comprising:
- receiving, at a licensing framework executing on a computing device, a first request for forming a partnership between a first object and a second object from the second object, where the first request comprises an identifier of a first license issued to the first object and a second license issued to the second object by the licensing framework;
determining whether the first license and the second license are valid;
responsive to determining that both the first license and the second license are valid, generating a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object;
providing a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object;
monitoring for lapse events associated with partnership objects;
responsive to determining that a lapse event for the first partnership object has not been posted;
processing messages between the first object and the second object using the reference to the first partnership object; and
responsive to determining that the lapse event for the first partnership object has been posted;
determining the first partnership of the lapsed first partnership object;
identifying the first object and the second object as partner objects of the first partnership of the lapsed first partnership object;
informing the first object or the second object of the lapse event using the reference to the first partnership object; and
tearing down the lapsed first partnership object, where the first object and the second object reclaim system resources that were used during the first partnership in response to the tearing down of the lapsed first partnership object.
0 Assignments
0 Petitions
Accused Products
Abstract
A partnership object is created to manage interactions between objects in an object oriented computing environment. An interaction license is issued by a licensing framework executing on a computing device to each of a group of objects indicating that the group of objects is authorized to form partnerships, where the group of objects interact by requesting formation of the partnerships using the provided interaction licenses. A first object requests to interact with a second object. A partnership object is created and each of the first and second objects is provided with a reference to the partnership object. The request from the first object may include identifiers of licenses associated with the first and second object and the partnership object may be created only if both licenses are validated. The first object then is able to interact with the second object by using the reference to the partnership object.
-
Citations
18 Claims
-
1. A method of managing interactions between objects in an object oriented computing environment, comprising:
-
receiving, at a licensing framework executing on a computing device, a first request for forming a partnership between a first object and a second object from the second object, where the first request comprises an identifier of a first license issued to the first object and a second license issued to the second object by the licensing framework; determining whether the first license and the second license are valid; responsive to determining that both the first license and the second license are valid, generating a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object; providing a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object; monitoring for lapse events associated with partnership objects; responsive to determining that a lapse event for the first partnership object has not been posted; processing messages between the first object and the second object using the reference to the first partnership object; and responsive to determining that the lapse event for the first partnership object has been posted; determining the first partnership of the lapsed first partnership object; identifying the first object and the second object as partner objects of the first partnership of the lapsed first partnership object; informing the first object or the second object of the lapse event using the reference to the first partnership object; and tearing down the lapsed first partnership object, where the first object and the second object reclaim system resources that were used during the first partnership in response to the tearing down of the lapsed first partnership object. - View Dependent Claims (2, 3, 4)
-
-
5. A method, comprising:
-
issuing, via a licensing framework executing on a computing device, licenses to each of a plurality of objects, where a first object and a second object comprise two objects of the plurality of objects, and a first license and a second license comprise two of the issued licenses; receiving, at the licensing framework executing on the computing device, a first request for forming a partnership between the first object and the second object from the second object, where the first request comprises an identifier of the first license issued to the first object and the second license issued to the second object by the licensing framework; determining whether the first license and the second license are valid; responsive to determining that both the first license and the second license are valid, generating a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object; providing a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object; generating additional partnership objects for each additional requested partnership between objects of the plurality of objects in response to determining that each object associated with each additional requested partnership has a valid license; providing a reference to each generated additional partnership object to the objects associated with each additional requested partnership; and tearing down lapsed partnership objects. - View Dependent Claims (6)
-
-
7. An apparatus for managing interactions between objects in an object oriented computing environment, comprising:
-
a memory; and a processor programmed to; receive a first request for forming a partnership between a first object and a second object from the second object, where the first request comprises an identifier of a first license issued to the first object and a second license issued to the second object; determine whether the first license and the second license are valid; responsive to determining that both the first license and the second license are valid, generate a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object; provide a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object; monitor for lapse events associated with partnership objects; responsive to determining that a lapse event for the first partnership object has not been posted; process messages between the first object and the second object using the reference to the first partnership object; and responsive to determining that the lapse event for the first partnership object has been posted; determine the first partnership of the lapsed first partnership object; identify the first object and the second object as partner objects of the first partnership of the lapsed first partnership object; inform the first object or the second object of the lapse event using the reference to the first partnership object; and tear down the lapsed first partnership object, where the first object and the second object reclaim system resources that were used during the first partnership in response to the tearing down of the lapsed first partnership object. - View Dependent Claims (8, 9, 10)
-
-
11. An apparatus, comprising:
-
a memory; and a processor programmed to; issue licenses to each of a plurality of objects, where a first object and a second object comprise two objects of the plurality of objects, and a first license and a second license comprise two of the issued licenses; receive a first request for forming a partnership between the first object and the second object from the second object, where the first request comprises an identifier of the first license issued to the first object and the second license issued to the second object; determine whether the first license and the second license are valid; responsive to determining that both the first license and the second license are valid, generate a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object; provide a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object; generate additional partnership objects for each additional requested partnership between objects of the plurality of objects in response to determining that each object associated with each additional requested partnership has a valid license; provide a reference to each additional generated partnership object to the objects associated with each additional requested partnership; and tear down lapsed partnership objects. - View Dependent Claims (12)
-
-
13. A computer program product for managing interactions between objects in an object oriented computing environment comprising a computer readable storage medium including computer readable program code, where the computer readable program code when executed on a computer causes the computer to:
-
receive a first request for forming a partnership between a first object and a second object from the second object, where the first request comprises an identifier of a first license issued to the first object and a second license issued to the second object; determine whether the first license and the second license are valid; responsive to determining that both the first license and the second license are valid, generate a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object; provide a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object; monitor for lapse events associated with partnership objects; responsive to determining that a lapse event for the first partnership object has not been posted; process messages between the first object and the second object using the reference to the first partnership object; and responsive to determining that the lapse event for the first partnership object has been posted; determine the first partnership of the lapsed first partnership object; identify the first object and the second object as partner objects of the first partnership of the lapsed first partnership object; inform the first object or the second object of the lapse event using the reference to the first partnership object; and tear down the lapsed first partnership object, where the first object and the second object reclaim system resources that were used during the first partnership in response to the tearing down of the lapsed first partnership object. - View Dependent Claims (14, 15, 16)
-
-
17. A computer program product for managing interactions between objects in an object oriented computing environment comprising a computer readable storage medium including computer readable program code, where the computer readable program code when executed on a computer causes the computer to:
-
issue licenses to each of a plurality of objects, where a first object and a second object comprise two objects of the plurality of objects, and a first license and a second license comprise two of the issued licenses; receive a first request for forming a partnership between the first object and the second object from the second object, where the first request comprises an identifier of the first license issued to the first object and the second license issued to the second object; determine whether the first license and the second license are valid; responsive to determining that both the first license and the second license are valid, generate a first partnership object that manages an interaction between the first object and the second object, where the first partnership object comprises a first partnership between the first object and the second object; provide a reference to the first partnership object to the first object and the second object, where the first object and the second object communicate via the first partnership object; generate additional partnership objects for each additional requested partnership between objects of the plurality of objects in response to determining that each object associated with each additional requested partnership has a valid license; provide a reference to each additional generated partnership object to the objects associated with each additional requested partnership; and tear down lapsed partnership objects. - View Dependent Claims (18)
-
Specification