Class TelemetryParserRegistryImpl
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.registry.impl.TelemetryServiceRegistryImpl<ParserFactory,ParserDefinition,Parser>
-
- org.opennms.netmgt.telemetry.protocols.registry.impl.TelemetryParserRegistryImpl
-
- All Implemented Interfaces:
ServiceLookup<String,Void>
,TelemetryServiceRegistry<ParserDefinition,Parser>
public class TelemetryParserRegistryImpl extends TelemetryServiceRegistryImpl<ParserFactory,ParserDefinition,Parser>
Maintains the list of available telemtryd adapters, aggregating those expose the the service loader and via the OSGi registry.- Author:
- chandrag, jwhite
-
-
Constructor Summary
Constructors Constructor Description TelemetryParserRegistryImpl()
TelemetryParserRegistryImpl(long gracePeriodMs, long waitPeriodMs, long lookupDelayMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBind(ParserFactory parserFactory, Map properties)
void
onUnbind(ParserFactory parserFactory, Map properties)
-
Methods inherited from class org.opennms.netmgt.telemetry.protocols.registry.impl.TelemetryServiceRegistryImpl
getService, lookup
-
-
-
-
Method Detail
-
onBind
public void onBind(ParserFactory parserFactory, Map properties)
- Overrides:
onBind
in classTelemetryServiceRegistryImpl<ParserFactory,ParserDefinition,Parser>
-
onUnbind
public void onUnbind(ParserFactory parserFactory, Map properties)
- Overrides:
onUnbind
in classTelemetryServiceRegistryImpl<ParserFactory,ParserDefinition,Parser>
-
-