Class AdapterManager

  • All Implemented Interfaces:
    TelemetryManager, org.osgi.service.cm.ManagedServiceFactory

    public class AdapterManager
    extends Object
    implements org.osgi.service.cm.ManagedServiceFactory, TelemetryManager
    This ManagedServiceFactory for service pids that contain telemetry adapter definitions and manages their lifecycle by starting/updating and stopping them accordingly. See MapBasedAdapterDef for a list of supported properties.
    Author:
    mvrueden
    • Constructor Detail

      • AdapterManager

        public AdapterManager()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.osgi.service.cm.ManagedServiceFactory
      • updated

        public void updated​(String pid,
                            Dictionary<String,​?> properties)
        Specified by:
        updated in interface org.osgi.service.cm.ManagedServiceFactory
      • deleted

        public void deleted​(String pid)
        Specified by:
        deleted in interface org.osgi.service.cm.ManagedServiceFactory
      • init

        public void init()
      • destroy

        public void destroy()
      • setDistPollerDao

        public void setDistPollerDao​(DistPollerDao distPollerDao)
      • setTelemetryRegistry

        public void setTelemetryRegistry​(TelemetryRegistry telemetryRegistry)
      • setMessageConsumerManager

        public void setMessageConsumerManager​(MessageConsumerManager messageConsumerManager)
      • setBundleContext

        public void setBundleContext​(org.osgi.framework.BundleContext bundleContext)