1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.MBeanServerNotification ; 12 import javax.management.ObjectName ; 13 14 import org.xml.sax.SAXException ; 15 16 19 public class MBeanServerNotificationDeser extends NotificationDeser 20 { 21 private ObjectName mbeanName; 22 23 public void onSetChildValue(Object value, Object hint) throws SAXException 24 { 25 super.onSetChildValue(value, hint); 26 if (MBeanServerNotificationSer.MBEAN_NAME.equals(hint)) mbeanName = (ObjectName )value; 27 } 28 29 protected Object createObject() throws SAXException 30 { 31 MBeanServerNotification notification = new MBeanServerNotification (getType(), getSource(), getSequenceNumber(), mbeanName); 32 notification.setTimeStamp(getTimeStamp()); 33 notification.setUserData(getUserData()); 34 return notification; 35 } 36 } 37 | Popular Tags |