1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.timer.TimerNotification ; 12 13 import org.xml.sax.SAXException ; 14 15 18 public class TimerNotificationDeser extends NotificationDeser 19 { 20 private Integer notificationID; 21 22 public void onSetChildValue(Object value, Object hint) throws SAXException 23 { 24 super.onSetChildValue(value, hint); 25 if (TimerNotificationSer.NOTIFICATION_ID.equals(hint)) notificationID = (Integer )value; 26 } 27 28 protected Object createObject() throws SAXException 29 { 30 TimerNotification notification = new TimerNotification (getType(), getSource(), getSequenceNumber(), getTimeStamp(), getMessage(), notificationID); 31 return notification; 32 } 33 34 } 35 | Popular Tags |