1 9 package org.jboss.mx.remoting; 10 11 import java.io.Serializable ; 12 import javax.management.Notification ; 13 14 23 public class NotificationEntry implements Serializable 24 { 25 static final long serialVersionUID = -8038783215990131189L; 26 27 private final Notification notification; 28 private final Object handback; 29 30 public NotificationEntry(Notification n, Object h) 31 { 32 this.notification = n; 33 this.handback = h; 34 } 35 36 41 public Notification getNotification() 42 { 43 return notification; 44 } 45 46 52 public Object getHandBack() 53 { 54 return handback; 55 } 56 57 public String toString() 58 { 59 return "NotificationEntry [notification:" + notification + ",handback:" + handback + "]"; 60 } 61 } 62 | Popular Tags |