0 Replies Latest reply on Apr 18, 2012 5:31 PM by Kamil Borzym

    Collecting CDI statistics

    Kamil Borzym Newbie

      I have created a small tooling library for collecting CDI statistics: it records number of injections and destructions of every enabled bean. I wonder if such a mechanism already exists in WELD or has been described in CDI?


      How does it work? During bean discovery it creates wrappers around all injection targets to detect postConstruct and preDestroy callbacks invocations.


      I would be very gratefull for all ideas and opinions regarding this project.


      Here is library download page:


      Here is wikipage:



      I has been tested on JBoss AS 6.