Class DefaultServiceMonitorRegistry

  • All Implemented Interfaces:
    ServiceMonitorRegistry

    public class DefaultServiceMonitorRegistry
    extends java.lang.Object
    implements ServiceMonitorRegistry

    Aggregates ServiceMonitor implementations exposed via the ServiceLoader and via the OSGi registry.

    In order to expose a service monitor via the Java Service Loader, you must include the full package and class name in /META-INF/services/org.opennms.netmgt.poller.ServiceMonitor

    Services monitors exposed via OSGi must include a 'type' property with the class-name of the services monitor being exposed.

    Author:
    jwhite