org.opennms.netmgt.discovery
Class Discovery
java.lang.Object
org.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.discovery.Discovery
- All Implemented Interfaces:
- Fiber, PausableFiber, SpringServiceDaemon, ServiceDaemon, org.springframework.beans.factory.InitializingBean
public class Discovery
- extends AbstractServiceDaemon
This class is the main interface to the OpenNMS discovery service. The class
implements the singleton design pattern, in that there is only one
instance in any given virtual machine. The service delays the reading of
configuration information until the service is started.
- Author:
- Brian Weaver , 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()
- Specified by:
onInit in class AbstractServiceDaemon
doPings
protected void doPings()
getInstance
public static Discovery getInstance()
- Returns the singular instance of the discovery process
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
syncAlreadyDiscovered
protected void syncAlreadyDiscovered()
handleDiscoveryConfigurationChanged
public void handleDiscoveryConfigurationChanged(Event event)
handleInterfaceDeleted
public void handleInterfaceDeleted(Event event)
handleDiscoveryResume
public void handleDiscoveryResume(Event event)
handleDiscoveryPause
public void handleDiscoveryPause(Event event)
handleNodeGainedInterface
public void handleNodeGainedInterface(Event event)
Copyright © 2009. All Rights Reserved.