Class TelemetryAdapterRegistryImpl
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.registry.impl.TelemetryServiceRegistryImpl<AdapterFactory,AdapterDefinition,Adapter>
-
- org.opennms.netmgt.telemetry.protocols.registry.impl.TelemetryAdapterRegistryImpl
-
- All Implemented Interfaces:
ServiceLookup<String,Void>
,TelemetryServiceRegistry<AdapterDefinition,Adapter>
public class TelemetryAdapterRegistryImpl extends TelemetryServiceRegistryImpl<AdapterFactory,AdapterDefinition,Adapter>
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 TelemetryAdapterRegistryImpl()
TelemetryAdapterRegistryImpl(long gracePeriodMs, long waitPeriodMs, long lookupDelayMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBind(AdapterFactory adapterFactory, Map properties)
void
onUnbind(AdapterFactory adapterFactory, Map properties)
-
Methods inherited from class org.opennms.netmgt.telemetry.protocols.registry.impl.TelemetryServiceRegistryImpl
getService, lookup
-
-
-
-
Method Detail
-
onBind
public void onBind(AdapterFactory adapterFactory, Map properties)
- Overrides:
onBind
in classTelemetryServiceRegistryImpl<AdapterFactory,AdapterDefinition,Adapter>
-
onUnbind
public void onUnbind(AdapterFactory adapterFactory, Map properties)
- Overrides:
onUnbind
in classTelemetryServiceRegistryImpl<AdapterFactory,AdapterDefinition,Adapter>
-
-