Dynamic error lookup handler hierarchy
First Claim
1. In a component-based architecture, a method for processing a first error message to produce a second error message, said component-based architecture comprising a framework which is associated with a general lookup handler, said framework being capable of embedding one or more components associated with one or more component specific lookup handlers, said method comprising:
- selecting a component;
generating a dynamic hierarchy of lookup handlers for said selected component after said selected component has been selected, said dynamic hierarchy of lookup handlers including;
said generic lookup handler associated with said framework; and
a component specific lookup handler associated with said selected component;
processing said first error message through said dynamic hierarchy of lookup handlers, wherein said first error message is first attempted to be processed through said component specific lookup handler, said first error message is then processed, if said component specific lookup handler is unable to process said first error message, through said generic lookup handler; and
producing said second error message after processing said first error message through said dynamic hierarchy of lookup handlers.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for processing a first error message to produce a second error message in a component-based architecture. The component-based architecture includes a framework which is associated with a first lookup handler and is capable of embedding a first component associated with a first executable unit for handling data of the first component. The method includes the step of generating a hierarchy of lookup handlers, the hierarchy including the first lookup handler and a second lookup handler associated with the first executable unit when the first component comes into focus. Further, the method includes the step of processing the first error message through the hierarchy of lookup handlers to generate the second error message. Through the hierarchy, the first error message is first processed through the second lookup handler. If the second lookup handler is unable to process the first error message, the first error message is then processed through the first lookup handler. In this manner, the second error message is more specific to the first component than the first error message.
34 Citations
26 Claims
-
1. In a component-based architecture, a method for processing a first error message to produce a second error message, said component-based architecture comprising a framework which is associated with a general lookup handler, said framework being capable of embedding one or more components associated with one or more component specific lookup handlers, said method comprising:
-
selecting a component;
generating a dynamic hierarchy of lookup handlers for said selected component after said selected component has been selected, said dynamic hierarchy of lookup handlers including;
said generic lookup handler associated with said framework; and
a component specific lookup handler associated with said selected component;
processing said first error message through said dynamic hierarchy of lookup handlers, wherein said first error message is first attempted to be processed through said component specific lookup handler, said first error message is then processed, if said component specific lookup handler is unable to process said first error message, through said generic lookup handler; and
producing said second error message after processing said first error message through said dynamic hierarchy of lookup handlers. - View Dependent Claims (2, 3, 4, 5, 19, 20)
-
-
6. In a computer implementing a component-based architecture, said component-based architecture comprising a framework that is capable of embedding a first component associated with a first executable unit for handling data of said first component, an apparatus for processing a first error message, comprising:
-
a general lookup handler associated with said framework, said general lookup handler being capable of processing said first error message to produce a second error message;
a first component specific lookup handler associated with said first executable unit, said first component specific lookup handler being capable of processing said first error message to produce a third error message; and
means for dynamically installing said general lookup handler and said first component specific lookup handler into a dynamic lookup handler hierarchy, said first component specific lookup handler being installed by said first executable unit of said first component when said first component comes into focus, whereby said dynamic lookup handler hierarchy comprises said general lookup handler and said first component specific lookup handler when said first component is in focus due to at least some execution by said first executable unit of said first component, said dynamic lookup handler hierarchy is arranged such that said first error message is attempted to be processed by said first component specific lookup handler first, and if said first component specific lookup handler is unable to process said first error message, said first error message is then processed by said general lookup handler. - View Dependent Claims (7, 8)
-
-
9. In a component-based architecture, a computer readable medium containing program instructions for processing a first error message to produce a second error message, said component-based architecture comprising a framework which is associated with a general lookup handler, said framework being capable of embedding one or more components associated with one or more component specific lookup handlers, said program instructions include instructions for:
-
selecting a component;
generating a dynamic hierarchy of lookup handlers for said selected component after said component has been selected, said dynamic hierarchy including;
said general lookup handler; and
a first component specific lookup handler associated with said selected component;
processing said first error message through said dynamic hierarchy of lookup handlers, whereby said first error message is first attempted to be processed through said first component specific lookup handler, said first error message is then processed, if said first component specific lookup handler is unable to process said first error message, through said general lookup handler;
producing said second error message after processing said first error message through said dynamic hierarchy of lookup handlers; and
wherein said dynamic hierarchy of lookup handlers is implemented as a doubly linked list. - View Dependent Claims (10, 11, 12, 13, 18)
-
-
14. In a component-based architecture, a method for processing a first error message to produce a second error message, said component-based architecture comprising a framework which is associated with a first lookup handler, said framework being capable of embedding a first component associated with a first executable unit for handling data of said first component, said method comprising:
-
generating a hierarchy of lookup handlers that are arranged as a doubly linked list, wherein said generating comprises the step of installing said second lookup handler into said hierarchy using an install function from a shared library, said shared library being accessible to executable units associated with components embedded in said framework so that a given one of said executable units may employ said install function to install its associated lookup handler into said hierarchy when component data associated with said given one of said executable units comes into focus;
said hierarchy including;
said first lookup handler; and
a second lookup handler associated with said first executable unit when said first component comes into focus; and
processing said first error message through said hierarchy of lookup handlers to generate said second error message, whereby said first error message is first processed through said second lookup handler, said first error message is then processed, if said second lookup handler is unable to process said first error message, through said first lookup handler, and wherein said second error message is more specific to said first component than said first error message. - View Dependent Claims (15, 16, 17)
-
-
21. In a component-based architecture, a method for processing errors associated with one or more components of said component-based architecture, said component-based architecture having one or more lookup handlers associated therewith, said method comprising:
-
selecting a component of said component-based architecture;
generating a dynamic hierarchy of lookup handlers after receiving said selecting, said dynamic hierarchy of lookup handlers including a generic lookup handler and a component specific lookup handler associated with said selected component;
receiving an error to be processed through said dynamic hierarchy of lookup handlers;
determining whether said error can be processed by said component specific lookup handler;
processing said error by said component specific lookup handler when said error can be processed by said component specific lookup handler;
processing said error by said general lookup handler when said error cannot be processed by said component specific error handler; and
producing an error output for said error after being processed through said dynamic hierarchy of lookup handlers; and
wherein said dynamic hierarchy of lookup handlers is implemented as a doubly linked list. - View Dependent Claims (22, 23, 24, 25, 26)
selecting another component of said component-based architecture; and
modifying said dynamic hierarchy of lookup handlers after said selecting of said another component.
-
-
25. The method of claim 24, wherein modifying said dynamic hierarchy of lookup handlers includes removing said component specific lookup handler for said selected component from said dynamic hierarchy of lookup handlers.
-
26. The method of claim 25, wherein said modifying said dynamic hierarchy of lookup handlers further includes adding a second component specific lookup handler associated to said dynamic hierarchy of lookup handlers, said second component specific handler being associated with said another component.
Specification