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.


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

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