Support for multiple interface versions
AssigneeInternational Business Machines Corporation
InventorJohn Colgrave
Life of this patent
Estimating the term…
Abstract
Multiple interface versions including a current interface version and at least one earlier interface version are supported. A call is received at an interface version. A data structure from the current interface version data structures is retrieved. An event comprising a reference to the call is fired. Listeners for events are provided. A listener initiates the processing of a side effect of the current interface version, if appropriate to the call, wherein a side effect is a process in addition to the main purpose of the interface.
Claims20
A method for supporting multiple interface versions comprising a current interface version and at least one earlier interface version, comprising:
- receiving a call at an interface version;
- retrieving a data structure from the current interface version data structures;
- firing an event comprising a reference to the call;
- providing listeners for events;
- and
- a listener initiating the processing of a side effect of the current interface version, if appropriate to the call, wherein a side effect is a process in addition to the main purpose of the interface.
A system for supporting multiple interface versions comprising a current interface version and at least one earlier interface version, the system comprising:
- a receiving device receiving a call at an interface version;
- a retrieving device retrieving a data structure from data structures associated with the current interface version;
- a firing device firing an event comprising a reference to the call;
- an event manager receiving events and having one or more listeners registered at the event manager;
- a listener initiating the processing of a side effect of the current interface version, if appropriate to the call, wherein a side effect is a process in addition to the main purpose of the interface.
A computer program product for supporting multiple interface versions comprising a current interface version and at least one earlier interface version, the computer program product comprising:
- a computer usable medium having computer useable program code embodied therein, the computer useable program code comprising:
- computer usable program code configured to receive a call at an interface version;
- computer usable program code configured to retrieve a data structure from the current interface version data structures;
- computer usable program code configured to fire an event including a reference to the call;
- computer usable program code configured to provide listeners for events;
- and
- computer usable program code configured to initiate the processing of a side effect of the current interface version, if appropriate to the call, wherein a side effect is a process in addition to the main purpose of the interface.
Dependencies are inferred from the claim text.