I want to change a method body and not to change existing source code running on web app.
Does spring offer that magical function?
What I mean by change is not to replace totally but do some small changes. It's more like below to insert new logic at some point or row:
The scenario is we want to inspect a large of projects ,when new records are inserted or update in these projects running on
tomcat , I hope all these data also be synchronized to my inspection database so that we can summarize latest data that need to be checked by administrator. So I need to do some extra work to the existing code, but cause the number of projects is pretty big , adding logic for every single class method is not reasonable, so I just want to add synchronizing code in a relative easy and common way. Basically we have got all the methods we need to handle and enough materials .
If it can't be possible, we had to change source code ,that would be the last way we wanna choose.
Thanks.