Class Telemetryd
- java.lang.Object
-
- org.opennms.netmgt.telemetry.daemon.Telemetryd
-
- All Implemented Interfaces:
SpringServiceDaemon
,TelemetryManager
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class Telemetryd extends Object implements SpringServiceDaemon, TelemetryManager
telemetryd is responsible for managing the life cycle ofListener
s,Connector
s andAdapter
s as well as connecting these to the Sink API.- Author:
- jwhite
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOG_PREFIX
static String
NAME
-
Constructor Summary
Constructors Constructor Description Telemetryd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
List<Adapter>
getAdapters()
Get the list of currently configured and enabled adapters.List<Listener>
getListeners()
Get the list of currently configured and enabled listeners.void
handleReloadEvent(IEvent e)
void
start()
start
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
LOG_PREFIX
public static final String LOG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start() throws Exception
Description copied from interface:SpringServiceDaemon
start
- Specified by:
start
in interfaceSpringServiceDaemon
- Throws:
Exception
- if any.
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
handleReloadEvent
public void handleReloadEvent(IEvent e)
-
getListeners
public List<Listener> getListeners()
Description copied from interface:TelemetryManager
Get the list of currently configured and enabled listeners.- Specified by:
getListeners
in interfaceTelemetryManager
- Returns:
- the listeners
-
getAdapters
public List<Adapter> getAdapters()
Description copied from interface:TelemetryManager
Get the list of currently configured and enabled adapters.- Specified by:
getAdapters
in interfaceTelemetryManager
- Returns:
- the adapters
-
-