1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.MBeanConstructorInfo ; 12 import javax.management.MBeanParameterInfo ; 13 14 import org.xml.sax.SAXException ; 15 16 19 public class MBeanConstructorInfoDeser extends AxisDeserializer 20 { 21 private String name; 22 private String description; 23 private MBeanParameterInfo [] signature; 24 25 public void onSetChildValue(Object value, Object hint) throws SAXException 26 { 27 if (MBeanConstructorInfoSer.NAME.equals(hint)) 28 name = (String )value; 29 else if (MBeanConstructorInfoSer.DESCRIPTION.equals(hint)) 30 description = (String )value; 31 else if (MBeanConstructorInfoSer.SIGNATURE.equals(hint)) signature = (MBeanParameterInfo [])value; 32 } 33 34 protected Object createObject() throws SAXException 35 { 36 return new MBeanConstructorInfo (name, description, signature); 37 } 38 } 39 | Popular Tags |