It provides an easy-to-use method of exposing MBean by scala macro annotation.
import com.wacai.mbean.annotation._
@mbean class ThrottleActor extends Actor {
def receive = {
case i: Int => count += i
}
var count = 0
@attribute var threshold = 100
@operation def isOverload = count > threshold
}
Comming soon.