Class InterfaceMapper<S,​T>

    • Field Detail

      • clazz

        protected final Class<T> clazz
      • bundleContext

        protected final org.osgi.framework.BundleContext bundleContext
      • extServiceRegistrationMap

        protected final Map<S,​org.osgi.framework.ServiceRegistration<T>> extServiceRegistrationMap
    • Constructor Detail

      • InterfaceMapper

        public InterfaceMapper​(Class<T> clazz,
                               org.osgi.framework.BundleContext bundleContext)
    • Method Detail

      • onBind

        public void onBind​(S extension,
                           Map properties)
      • onUnbind

        public void onUnbind​(S extension,
                             Map properties)
      • getServiceProperties

        public Map<String,​Object> getServiceProperties​(S extension)
      • map

        public abstract T map​(S ext)