org.opennms.netmgt.scriptd
Class Scriptd
java.lang.Object
org.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.scriptd.Scriptd
- All Implemented Interfaces:
- Fiber, PausableFiber, SpringServiceDaemon, ServiceDaemon, org.springframework.beans.factory.InitializingBean
public final class Scriptd
- extends AbstractServiceDaemon
This class implements a script execution service. This service subscribes to
all events, and passes received events to the set of configured scripts.
This services uses the Bean Scripting Framework (BSF) in order to allow
scripts to be written in a variety of registered languages.
- Author:
- Jim Doble , OpenNMS.org
| 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 |
onInit
protected void onInit()
- Initialize the Scriptd service.
- Specified by:
onInit in class AbstractServiceDaemon
onStart
protected void onStart()
- Overrides:
onStart in class AbstractServiceDaemon
onStop
protected void onStop()
- Overrides:
onStop in class AbstractServiceDaemon
onPause
protected void onPause()
- Overrides:
onPause in class AbstractServiceDaemon
onResume
protected void onResume()
- Overrides:
onResume in class AbstractServiceDaemon
getInstance
public static Scriptd getInstance()
- Returns the singular instance of the Scriptd daemon. There can
be only one instance of this service per virtual machine.
- Returns:
- The singular instance.
Copyright © 2009. All Rights Reserved.