I'm having a little trouble understanding just how to link JMX agent to my TJWS(Tiny java web server)
The web server is instrumented with dynamic MBeans that expose their management interfaces (attributes and operations) at runtime. We identified a set of components as being part of TJWS and we created for each of them a corresponding MBean. ThreadPool or HTTP Session are such types of components. When created, the corresponding MBeans receive a reference to these components through their constructor. When created, the corresponding MBeans receive a reference to these components through their constructor. For each component we chose a set of significant attributes to be monitored
So does this mean that i have to modify the server code so that it creates MBeans on component creation events? Or does it mean something else? :)
I would appriciate if someone could point me in the right direction