Project Log: September - October
September 7, 2011
Injected my own LoggerInterceptor into the existing PersistenceWrapper for testing. Successfully prints out intercepted queries.
September 21, 2011
Have been doing research into MBeans and looking at the profiler code. A ClientListener class is used to listen for notifications emitted from the ServiceProfilerAgent(MBean) and passed onto ProfilingManager to process. I would like to keep the design consistent and make my LoggerManager follow a similar structure.
September 28, 2011
I have changes the LoggerManager(MBean) and tested it on services. I can successfully use JConsole to switch logging on and off. I've also made changes to ClientListener to query and find my LoggerManager MBean. Running into some trouble finding the MBean - possibly due to them being in different applications and JVM.
October 5, 2011
I have changed the LoggerManager(MBean) to register in the same MBeanServer as the ServiceProfilerAgent. Profiler can now successfully communicate with the MBean. Now looking at the stacktrace from the LoggerInterceptor to see how I can match the database calls with the service methods.
October 12, 2011
The stack trace can be used to match the methods leading up to the intercepted query with the method names from the service calls (from the tree nodes). This stack trace can be passed on the profiler to do the matching.
October 19, 2011
Cleaned up the code and committed to the repository so that someone else can complete the implementation. Also been working on seminar and report. Have gotten feedback from both Edward and Xinfeng.
October 20, 2011
Gave the final seminar today. Slides can be found on the Resources page.
October 23, 2011
Completed the final report and can be downloaded form the Resources page.
