adding Listener to JAMonDataSource's monitor

  • Bhanu Vasireddy

    Bhanu Vasireddy - 2008-09-17


    Thanks for developing JAMon API, we are using it to debug our performance issues and results are quite impressive.

    recently we been trying to perform some JDBC profiling to write long running SQL's to log file using JAMON listeners. After looking into code we realized that all JAMonDataSource monitors are created as inner classes and don't support any methods to add custom listeners. Is there any reason all these monitors are declared as inner classes. do you have any plans to expose them as regular outer classes to accept listeners.


  • Steve Souza

    Steve Souza - 2011-07-18

    Probably no longer an issue, but if this is still important to you can you elaborate?  You should be able to do what you request by adding a listener via this method:

    JAMonListenerFactory.(JAMonListener jamonListener)


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks