Patent ID: 7367025

Claim:
A byte code modification method, comprising: modifying a method's byte code instructions before said method's classfile has begun to be loaded for processing during runtime, said method comprising an entry point and an exit point, said modifying comprising inserting first and second additional byte code instructions into said method's byte code instructions, said first additional byte code instruction to invoke a first dispatch process as a consequence of said entry point being reached during runtime, said second additional byte code instruction to invoke a second dispatch process as a consequence of said exit point being reached during runtime; and, during runtime, invoking said first dispatch process from said first additional bytecode instruction and invoking said second dispatch process from said second additional byte code instruction, said first dispatch process including referring to a first dictionary to identify a first plug-in that performs a first output function, said second dispatch process including referring to a second dictionary to identify a second plug-in that performs a second output function.