/** * sendNotification * * @param eventType * @param data * @param msg */ public void sendNotification(String eventType, Object data, String msg) { Notification notif = new Notification(eventType, this, sequenceNumber .incrementAndGet(), System.currentTimeMillis(), msg); if (data != null) { notif.setUserData(data); } emitter.sendNotification(notif); }
/** * sendNotification * * @param eventType * @param data * @param msg */ public void sendNotification(String eventType, Object data, String msg) { Notification notif = new Notification(eventType, this, sequenceNumber .incrementAndGet(), System.currentTimeMillis(), msg); if (data != null) { notif.setUserData(data); } emitter.sendNotification(notif); }
/** * @see javax.management.NotificationEmitter#removeNotificationListener(javax.management.NotificationListener, * javax.management.NotificationFilter, java.lang.Object) */ public void removeNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) throws ListenerNotFoundException { emitter.removeNotificationListener(notif, filter, callBack); }
/** * @see javax.management.NotificationBroadcaster#addNotificationListener(javax.management.NotificationListener, * javax.management.NotificationFilter, java.lang.Object) */ public void addNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) { emitter.addNotificationListener(notif, filter, callBack); }
/** * @see javax.management.NotificationBroadcaster#removeNotificationListener(javax.management.NotificationListener) */ public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException { emitter.removeNotificationListener(listener); }
/** * @see javax.management.NotificationBroadcaster#removeNotificationListener(javax.management.NotificationListener) */ public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException { emitter.removeNotificationListener(listener); }
/** * @see javax.management.NotificationEmitter#removeNotificationListener(javax.management.NotificationListener, * javax.management.NotificationFilter, java.lang.Object) */ public void removeNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) throws ListenerNotFoundException { emitter.removeNotificationListener(notif, filter, callBack); }
/** * @see javax.management.NotificationBroadcaster#addNotificationListener(javax.management.NotificationListener, * javax.management.NotificationFilter, java.lang.Object) */ public void addNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) { emitter.addNotificationListener(notif, filter, callBack); }