public class AccessPointMonitord extends AbstractServiceDaemon implements ReadyRunnable
PAUSE_PENDING, PAUSED, RESUME_PENDING
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
Constructor and Description |
---|
AccessPointMonitord()
Default constructor for AccessPointMonitord.
|
Modifier and Type | Method and Description |
---|---|
AccessPointDao |
getAccessPointDao()
getAccessPointDao
|
Set<String> |
getActivePackageNames()
getActivePackageNames
|
EventIpcManager |
getEventManager()
getEventManager
|
static AccessPointMonitord |
getInstance()
getInstance
|
IpInterfaceDao |
getIpInterfaceDao()
getIpInterfaceDao
|
NodeDao |
getNodeDao()
getNodeDao
|
AccessPointMonitorConfig |
getPollerConfig()
getPollerConfig
|
Scheduler |
getScheduler()
getScheduler
|
boolean |
isInitialized()
isInitialized
|
boolean |
isReady()
Returns true if the runnable is ready to start.
|
protected void |
onInit()
onInit
|
protected void |
onPause()
onPause
|
protected void |
onResume()
onResume
|
protected void |
onStart()
onStart
|
protected void |
onStop()
onStop
|
void |
reloadDaemonConfig(Event e)
reloadDaemonConfig
|
void |
run() |
void |
setAccessPointDao(AccessPointDao accessPointDao)
getAccessPointDao
|
void |
setEventManager(EventIpcManager eventMgr)
setEventManager
|
static void |
setInstance(AccessPointMonitord apm)
setInstance
|
void |
setIpInterfaceDao(IpInterfaceDao ipInterfaceDao)
setIpInterfaceDao
|
void |
setNodeDao(NodeDao nodeDao)
getNodeDao
|
void |
setPollerConfig(AccessPointMonitorConfig accesspointmonitorConfig)
setPollerConfig
|
void |
setScheduler(LegacyScheduler scheduler)
setScheduler
|
afterPropertiesSet, debugf, debugf, destroy, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf
public AccessPointMonitord()
Default constructor for AccessPointMonitord.
public boolean isInitialized()
isInitialized
public AccessPointDao getAccessPointDao()
getAccessPointDao
AccessPointDao
object.public void setAccessPointDao(AccessPointDao accessPointDao)
getAccessPointDao
accessPointDao
- a AccessPointDao
object.public void setNodeDao(NodeDao nodeDao)
getNodeDao
nodeDao
- a NodeDao
object.public IpInterfaceDao getIpInterfaceDao()
getIpInterfaceDao
IpInterfaceDao
object.public void setIpInterfaceDao(IpInterfaceDao ipInterfaceDao)
setIpInterfaceDao
ipInterfaceDao
- a IpInterfaceDao
object.public void setScheduler(LegacyScheduler scheduler)
setScheduler
scheduler
- a LegacyScheduler
object.public EventIpcManager getEventManager()
getEventManager
org.opennms.netmgt.eventd.EventIpcManager
object.public void setEventManager(EventIpcManager eventMgr)
setEventManager
eventMgr
- a org.opennms.netmgt.eventd.EventIpcManager
object.public AccessPointMonitorConfig getPollerConfig()
getPollerConfig
AccessPointMonitorConfig
object.public void setPollerConfig(AccessPointMonitorConfig accesspointmonitorConfig)
setPollerConfig
accesspointmonitorConfig
- a
AccessPointMonitorConfig
object.protected void onStart()
onStart
onStart
in class AbstractServiceDaemon
protected void onStop()
onStop
onStop
in class AbstractServiceDaemon
protected void onPause()
onPause
onPause
in class AbstractServiceDaemon
protected void onResume()
onResume
onResume
in class AbstractServiceDaemon
public static void setInstance(AccessPointMonitord apm)
setInstance
apm
- a
AccessPointMonitord
object.public static AccessPointMonitord getInstance()
getInstance
AccessPointMonitord
object.protected void onInit()
onInit
onInit
in class AbstractServiceDaemon
public void reloadDaemonConfig(Event e)
reloadDaemonConfig
e
- a Event
object.public boolean isReady()
isReady
in interface ReadyRunnable
Copyright © 2015. All Rights Reserved.