Package org.opennms.netmgt.tl1d
Class Tl1d
- java.lang.Object
-
- org.opennms.netmgt.daemon.AbstractServiceDaemon
-
- org.opennms.netmgt.tl1d.Tl1d
-
- All Implemented Interfaces:
Fiber
,PausableFiber
,SpringServiceDaemon
,ServiceDaemon
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class Tl1d extends AbstractServiceDaemon
OpenNMS TL1 Daemon!- Version:
- $Id: $
- Author:
- David Hustace
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.fiber.Fiber
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
-
Fields inherited from interface org.opennms.core.fiber.PausableFiber
PAUSE_PENDING, PAUSED, RESUME_PENDING
-
-
Constructor Summary
Constructors Constructor Description Tl1d()
Constructor for Tl1d.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventForwarder
getEventForwarder()
getEventForwarderint
getStatus()
Returns the current status of the service.void
handleRelooadConfigurationEvent(IEvent e)
handleRelooadConfigurationEventvoid
onInit()
onInitvoid
onStart()
onStartvoid
onStop()
onStopvoid
setConfigurationDao(Tl1ConfigurationDao configurationDao)
setConfigurationDaovoid
setEventForwarder(EventForwarder eventForwarder)
setEventForwarder-
Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon
afterPropertiesSet, destroy, getName, getStatusText, init, isPaused, isRunning, isStarting, onPause, onResume, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus
-
-
-
-
Method Detail
-
handleRelooadConfigurationEvent
public void handleRelooadConfigurationEvent(IEvent e)
handleRelooadConfigurationEvent
- Parameters:
e
- aEvent
object.
-
onInit
public void onInit()
onInit
- Specified by:
onInit
in classAbstractServiceDaemon
-
onStart
public void onStart()
onStart
- Overrides:
onStart
in classAbstractServiceDaemon
-
onStop
public void onStop()
onStop
- Overrides:
onStop
in classAbstractServiceDaemon
-
getStatus
public int getStatus()
Returns the current status of the service.- Specified by:
getStatus
in interfaceFiber
- Overrides:
getStatus
in classAbstractServiceDaemon
- Returns:
- The service's status.
-
setEventForwarder
public void setEventForwarder(EventForwarder eventForwarder)
setEventForwarder
- Parameters:
eventForwarder
- aEventForwarder
object.
-
getEventForwarder
public EventForwarder getEventForwarder()
getEventForwarder
- Returns:
- a
EventForwarder
object.
-
setConfigurationDao
public void setConfigurationDao(Tl1ConfigurationDao configurationDao)
setConfigurationDao
- Parameters:
configurationDao
- aTl1ConfigurationDao
object.
-
-