Method and apparatus for analyzing performance of a Java bean
First Claim
Patent Images
1. A method in a data processing system for analyzing an object, the method comprising the data processing system implemented steps of:
- morphing the object, wherein the object becomes a dippable object;
creating a dip for the dippable object, wherein the dip identifies time spent executing the object; and
adding the dip to the dippable object, wherein the dippable object may be analyzed.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus in a data processing system for analyzing an object. The object is morphed, wherein the program becomes a dippable object. A dip is created for the dippable object, wherein the dip identifies time spent executing method calls, event firings, and property changes in the object. The dip is added to the dippable object, wherein the dippable object may be analyzed.
34 Citations
23 Claims
-
1. A method in a data processing system for analyzing an object, the method comprising the data processing system implemented steps of:
-
morphing the object, wherein the object becomes a dippable object;
creating a dip for the dippable object, wherein the dip identifies time spent executing the object; and
adding the dip to the dippable object, wherein the dippable object may be analyzed. - View Dependent Claims (2, 3)
-
-
4. A method in a data processing system for attaching a dip to a bean, the method comprising the data processing system implemented steps of:
-
creating the dip, wherein the dip identifies time spent executing a bean; and
attaching the dip the bean. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11)
morphing the bean to create a dippable bean; and
attaching the dip to the dippable bean.
-
-
6. The method of claim 4, wherein the dip reports time spent executing the bean to an output location.
-
7. The method of claim 6, wherein the dip reports time spent during property modification.
-
8. The method of claim 6, wherein the dip reports time spent during event creation.
-
9. The method of claim 6, wherein the dip reports time spent during method invocation.
-
10. The method of claim 6, wherein the dip includes:
-
a first listener, which receives a first notification that an invocation is occurring; and
a second listener, which receives a second notification that the invocation has completed.
-
-
11. The method of claim 10, wherein the first listener records a time of the first notification and the second listener records the time of the second notification and further comprising:
determining a period of time between the time between the first notification and the second notification.
-
12. A data processing system for analyzing an object, the data processing system comprising:
-
morphing means for morphing the object, wherein the object becomes a dippable object;
creating means for creating a dip for the dippable object, wherein the dip identifies time spent executing the object; and
adding means for adding the dip to the dippable object, wherein the dippable object may be analyzed. - View Dependent Claims (13, 14)
-
-
15. A data processing system for attaching a dip to a bean, the data processing system comprising:
-
creating means for creating the dip, wherein the dip identifies time spent executing a bean; and
attaching means for attaching the dip to the bean. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
morphing means for morphing the bean to create a dippable bean; and
attaching means for attaching the dip to the dippable bean.
-
-
17. The data processing system of claim 15, wherein the dip reports time spent executing the bean to an output location.
-
18. The data processing system of claim 17, wherein the dip reports time spent during property modification.
-
19. The data processing system of claim 17, wherein the dip reports time spent during event creation.
-
20. The data processing system of claim 17, wherein the dip reports time spent during method invocation.
-
21. The data processing system of claim 17, wherein the dip includes:
-
a first listener, which receives a first notification that an invocation is occurring; and
a second listener, which receives a second notification that the invocation has completed.
-
-
22. The data processing system of claim 21, wherein the first listener records a time of the first notification and the second listener records the time of the second notification and further comprising:
determining means for determining a period of time between the first notification and the second notification.
-
23. A computer program product in a data processing system for analyzing an object, the computer program product comprising:
-
first instructions for morphing the object, wherein the program becomes a dippable object;
second instructions for creating a dip for the dippable object, wherein the dip identifies time spent executing the object; and
third instructions for adding the dip to the dippable object, wherein the dippable object may be analyzed.
-
Specification