1 2 import javax.management.NotificationBroadcasterSupport; 3 4 public class Ste extends NotificationBroadcasterSupport implements SteMBean { 5 private long count = 0; 6 7 public void foo() { 8 sendNotification(new TestNotification("test", this, count++)); 9 } 10 }