Class ComponentServiceObjectsHelper


  • public class ComponentServiceObjectsHelper
    extends Object
    Utility class for handling references using a ComponentServiceObjects to get services.
    • Constructor Detail

      • ComponentServiceObjectsHelper

        public ComponentServiceObjectsHelper​(org.osgi.framework.BundleContext bundleContext)
    • Method Detail

      • cleanup

        public void cleanup()
      • getServiceObjects

        public org.osgi.service.component.ComponentServiceObjects getServiceObjects​(org.osgi.framework.ServiceReference<?> ref)
      • closeServiceObjects

        public void closeServiceObjects​(org.osgi.framework.ServiceReference<?> ref)
      • getPrototypeRefInstance

        public <T> T getPrototypeRefInstance​(org.osgi.framework.ServiceReference<T> ref)