Patent ID: 8402436

Claim:
A method, executed by a processor of a computer, of accessing layers in a multi-layer software architecture including a first layer, a second layer, and a third layer, the method comprising: at the third layer, publishing an interface by the processor; at the first layer, before execution of a first function, registering a callback routine with the third layer using the interface; calling the first function by the first layer; executing a second function by the second layer in response to the calling of the first function by the first layer, wherein executing the second function by the second layer calls a third function of the third layer; in response to the calling of the third function of the third layer, invoking the callback routine by the third layer; executing the callback routine by the first layer to set a context for executing the third function; executing the third function by the third layer based on the context; returning to the second layer by the third layer after executing the third function; and returning to the first layer by the second layer.