title: Scala JMX without traits
body: <p>I am adding some instrumentation into our Scala application, and ran into an issue:
  When using JMX in a standard, OO way, declaring the MBean as a trait, and have my class implement this bean, everything works perfectly. 
  However, my goal is to try to just have my class annotated as a bean (MBean or MXBean) and not have to write the interface. The reason for this is that I want to say something like </p>
  
  <pre><code>val foo = new Counter with JMX...
  </code></pre>
  
  <p>where JMX is a trait that registers foo as attribute of my class. </p>
  
  <p>is this possible? the JMX validator is looking for a class with an interface and complains if I don't create one, is there a way to add some form of it at runtime?</p>