org.opennms.netmgt.xmlrpcd
Class Xmlrpcd
java.lang.Object
org.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.xmlrpcd.Xmlrpcd
- All Implemented Interfaces:
- Fiber, PausableFiber, SpringServiceDaemon, ServiceDaemon, org.springframework.beans.factory.InitializingBean
public class Xmlrpcd
- extends AbstractServiceDaemon
The Xmlrpcd receives events selectively and sends notification to an external
XMLRPC server via the XMLRPC protocol.
- Author:
- Mathew Brozowski, David Hustace, Tarus Balog, James Zuo , OpenNMS.org
|
Constructor Summary |
Xmlrpcd()
Constructs a new Xmlrpcd object that receives events subscribed by the
external XMLRPC server and sends corresponding message to the external
XMLRPC server via XMLRPC protocol. |
| Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon |
afterPropertiesSet, debugf, debugf, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, isStartPending, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xmlrpcd
public Xmlrpcd()
Constructs a new Xmlrpcd object that receives events subscribed by the
external XMLRPC server and sends corresponding message to the external
XMLRPC server via XMLRPC protocol.
onInit
protected void onInit()
- Specified by:
onInit in class AbstractServiceDaemon
getConfig
public XmlrpcdConfigFactory getConfig()
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException
createConfig
public void createConfig()
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException
setConfig
public void setConfig(XmlrpcdConfigFactory config)
getServerConfig
public OpennmsServerConfigFactory getServerConfig()
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException
createServerConfig
public void createServerConfig()
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException
setServerConfig
public void setServerConfig(OpennmsServerConfigFactory serverConfig)
onStart
protected void onStart()
- Overrides:
onStart in class AbstractServiceDaemon
onPause
protected void onPause()
- Overrides:
onPause in class AbstractServiceDaemon
onResume
protected void onResume()
- Overrides:
onResume in class AbstractServiceDaemon
onStop
protected void onStop()
- Overrides:
onStop in class AbstractServiceDaemon
getInstance
public static AbstractServiceDaemon getInstance()
- Returns the singular instance of the xmlrpcd daemon. There can be only
one instance of this service per virtual machine.
Copyright © 2009. All Rights Reserved.