Class ServicePollerManager
- java.lang.Object
-
- org.opennms.features.apilayer.common.utils.InterfaceMapper<org.opennms.integration.api.v1.pollers.ServicePollerFactory,ServiceMonitor>
-
- org.opennms.features.apilayer.common.pollers.ServicePollerManager
-
public class ServicePollerManager extends InterfaceMapper<org.opennms.integration.api.v1.pollers.ServicePollerFactory,ServiceMonitor>
Manager to plug the service pollers that implement integration-api to the default service poller registry.
-
-
Field Summary
-
Fields inherited from class org.opennms.features.apilayer.common.utils.InterfaceMapper
bundleContext, clazz, extServiceRegistrationMap
-
-
Constructor Summary
Constructors Constructor Description ServicePollerManager(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getServiceProperties(org.opennms.integration.api.v1.pollers.ServicePollerFactory extension)
ServiceMonitor
map(org.opennms.integration.api.v1.pollers.ServicePollerFactory ext)
-
Methods inherited from class org.opennms.features.apilayer.common.utils.InterfaceMapper
onBind, onUnbind
-
-
-
-
Method Detail
-
map
public ServiceMonitor map(org.opennms.integration.api.v1.pollers.ServicePollerFactory ext)
- Specified by:
map
in classInterfaceMapper<org.opennms.integration.api.v1.pollers.ServicePollerFactory,ServiceMonitor>
-
getServiceProperties
public Map<String,Object> getServiceProperties(org.opennms.integration.api.v1.pollers.ServicePollerFactory extension)
- Overrides:
getServiceProperties
in classInterfaceMapper<org.opennms.integration.api.v1.pollers.ServicePollerFactory,ServiceMonitor>
-
-