Class DefaultServiceCollectorRegistry

  • All Implemented Interfaces:
    ServiceCollectorRegistry

    public class DefaultServiceCollectorRegistry
    extends java.lang.Object
    implements ServiceCollectorRegistry

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

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

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

    Author:
    jwhite