1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2011.03.13 at 04:01:06 PM MEZ 6 // 7 8 9 package ch.syabru.nagios.broker.xml; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlElement; 16 import javax.xml.bind.annotation.XmlType; 17 18 19 /** 20 * <p>Java class for XmlJmx complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="XmlJmx"> 26 * <complexContent> 27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 28 * <sequence> 29 * <element name="mBeanServer" type="{http://www.syabru.ch/nagios-msg-broker/1.0}XmlJmxMBeanServer" maxOccurs="unbounded"/> 30 * </sequence> 31 * </restriction> 32 * </complexContent> 33 * </complexType> 34 * </pre> 35 * 36 * 37 */ 38 @XmlAccessorType(XmlAccessType.FIELD) 39 @XmlType(name = "XmlJmx", propOrder = { 40 "mBeanServer" 41 }) 42 public class XmlJmx { 43 44 @XmlElement(required = true) 45 protected List<XmlJmxMBeanServer> mBeanServer; 46 47 /** 48 * Gets the value of the mBeanServer property. 49 * 50 * <p> 51 * This accessor method returns a reference to the live list, 52 * not a snapshot. Therefore any modification you make to the 53 * returned list will be present inside the JAXB object. 54 * This is why there is not a <CODE>set</CODE> method for the mBeanServer property. 55 * 56 * <p> 57 * For example, to add a new item, do as follows: 58 * <pre> 59 * getMBeanServer().add(newItem); 60 * </pre> 61 * 62 * 63 * <p> 64 * Objects of the following type(s) are allowed in the list 65 * {@link XmlJmxMBeanServer } 66 * 67 * 68 */ 69 public List<XmlJmxMBeanServer> getMBeanServer() { 70 if (mBeanServer == null) { 71 mBeanServer = new ArrayList<XmlJmxMBeanServer>(); 72 } 73 return this.mBeanServer; 74 } 75 76 }