|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.discovery.Discovery
public final class Discovery
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.
| Field Summary |
|---|
| Fields inherited from interface org.opennms.core.fiber.PausableFiber |
|---|
PAUSE_PENDING, PAUSED, RESUME_PENDING |
| Fields inherited from interface org.opennms.core.fiber.Fiber |
|---|
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED |
| Method Summary | |
|---|---|
static Discovery |
getInstance()
Returns the singulare instance of the discovery process |
protected void |
onInit()
|
protected void |
onPause()
|
protected void |
onResume()
|
protected void |
onStart()
|
protected void |
onStop()
|
| Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon |
|---|
afterPropertiesSet, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, isStartPending, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected void onInit()
onInit in class AbstractServiceDaemonprotected void onStart()
onStart in class AbstractServiceDaemonprotected void onStop()
onStop in class AbstractServiceDaemonprotected void onPause()
onPause in class AbstractServiceDaemonprotected void onResume()
onResume in class AbstractServiceDaemonpublic static Discovery getInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||