Create an MBean (JMX) in Scala

Create the MBean like this

NOTE, that the interface/trait must end with MBean in the name

And this is how you register your MBean

And the simply launch Java Mission Control (imc), attach to the JVM, and modify your MBean attributes as you like.

Enjoy!

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Create an MBean (JMX) in Scala

  1. Good article, thanks for sharing, please visit

    our website

Leave a Reply to Ari Candra Rahmanaga Cancel reply

Your email address will not be published. Required fields are marked *