org.opennms.netmgt.config.xmlrpcd
Class XmlrpcdConfiguration

java.lang.Object
  extended by org.opennms.netmgt.config.xmlrpcd.XmlrpcdConfiguration
All Implemented Interfaces:
java.io.Serializable

public class XmlrpcdConfiguration
extends java.lang.Object
implements java.io.Serializable

Top-level element for the xmlrpcd-configuration.xml configuration file.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
XmlrpcdConfiguration()
           
 
Method Summary
 void deleteMaxEventQueueSize()
          Method deleteMaxEventQueueSize
 ExternalServers getExternalServers()
          Returns the value of field 'externalServers'.
 int getMaxEventQueueSize()
          Returns the value of field 'maxEventQueueSize'.
 Subscription getSubscription()
          Returns the value of field 'subscription'.
 boolean hasMaxEventQueueSize()
          Method hasMaxEventQueueSize
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setExternalServers(ExternalServers externalServers)
          Sets the value of field 'externalServers'.
 void setMaxEventQueueSize(int maxEventQueueSize)
          Sets the value of field 'maxEventQueueSize'.
 void setSubscription(Subscription subscription)
          Sets the value of field 'subscription'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlrpcdConfiguration

public XmlrpcdConfiguration()
Method Detail

deleteMaxEventQueueSize

public void deleteMaxEventQueueSize()
Method deleteMaxEventQueueSize


getExternalServers

public ExternalServers getExternalServers()
Returns the value of field 'externalServers'. The field 'externalServers' has the following description: Configuration of external XMLRPC servers

Returns:
ExternalServers

getMaxEventQueueSize

public int getMaxEventQueueSize()
Returns the value of field 'maxEventQueueSize'. The field 'maxEventQueueSize' has the following description: Maximum size of the event queue

Returns:
int

getSubscription

public Subscription getSubscription()
Returns the value of field 'subscription'. The field 'subscription' has the following description: Events subscribed by the external XMLRPC servers

Returns:
Subscription

hasMaxEventQueueSize

public boolean hasMaxEventQueueSize()
Method hasMaxEventQueueSize

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setExternalServers

public void setExternalServers(ExternalServers externalServers)
Sets the value of field 'externalServers'. The field 'externalServers' has the following description: Configuration of external XMLRPC servers

Parameters:
externalServers - the value of field 'externalServers'.

setMaxEventQueueSize

public void setMaxEventQueueSize(int maxEventQueueSize)
Sets the value of field 'maxEventQueueSize'. The field 'maxEventQueueSize' has the following description: Maximum size of the event queue

Parameters:
maxEventQueueSize - the value of field 'maxEventQueueSize'.

setSubscription

public void setSubscription(Subscription subscription)
Sets the value of field 'subscription'. The field 'subscription' has the following description: Events subscribed by the external XMLRPC servers

Parameters:
subscription - the value of field 'subscription'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.