Hi,
Iam doing a project to monitor the invocation of each package in a
Java application. Iam sending each call to a function to my own method where I want to execute it. Iam passing the function call as a
string to my function. I would like to know how will I be able to execute the string.
for example: if we have
System.out.println("Hello World"); in the original code. then Iam modifying the code as
mypackage.monitor("System.out.println("Hello World"); ");
where mypackage is the package containing the method monitor.
I would like to know how can I execute the command in monitor method and then go to the next line in the original source code.
Will anybody please help me.
-Parwez