next up previous
Next: Implementation of runtime architecture Up: Implementation of development architecture Previous: Extension of the Java

Instrumentation of components  

As an example, the instrumentation of a simple GUI-button is shown in figure [*] (again showing the original code of the button in grey). This button can be used to trigger arbitrary user transactions. When the user releases the button, the method fireAction is called which essentially calls all registered event listeners.
Figure: Instrumentation of a GUI-Button 

Immediately before fireAction is called, a startUTA-call to the measurement correlator is inserted. As a parameter, this call provides the name of the user transaction (configured by the application developer during customization). When fireAction returns, removeControlFlow is called to inform the measurement correlator that the current control flow no longer executes this instance of a user transaction (This must not be confused with a call to stopUTA which indicates that the result of the user transaction has been presented to the user).

Copyright Munich Network Management Team