ch.syabru.nagios.broker.xml
Class XmlJmxMBeanServer

java.lang.Object
  extended by ch.syabru.nagios.broker.xml.XmlJmxMBeanServer

public class XmlJmxMBeanServer
extends Object

Java class for XmlJmxMBeanServer complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="XmlJmxMBeanServer">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="jmxServiceUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="notification" type="{http://www.syabru.ch/nagios-msg-broker/1.0}XmlJmxNotification" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String jmxServiceUrl
           
protected  List<XmlJmxNotification> notification
           
 
Constructor Summary
XmlJmxMBeanServer()
           
 
Method Summary
 String getJmxServiceUrl()
          Gets the value of the jmxServiceUrl property.
 List<XmlJmxNotification> getNotification()
          Gets the value of the notification property.
 void setJmxServiceUrl(String value)
          Sets the value of the jmxServiceUrl property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jmxServiceUrl

protected String jmxServiceUrl

notification

protected List<XmlJmxNotification> notification
Constructor Detail

XmlJmxMBeanServer

public XmlJmxMBeanServer()
Method Detail

getJmxServiceUrl

public String getJmxServiceUrl()
Gets the value of the jmxServiceUrl property.

Returns:
possible object is String

setJmxServiceUrl

public void setJmxServiceUrl(String value)
Sets the value of the jmxServiceUrl property.

Parameters:
value - allowed object is String

getNotification

public List<XmlJmxNotification> getNotification()
Gets the value of the notification property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the notification property.

For example, to add a new item, do as follows:

    getNotification().add(newItem);
 

Objects of the following type(s) are allowed in the list XmlJmxNotification



Copyright © 2010-2011 Syabru. All Rights Reserved.