Class ComponentServiceObjectsHelper

java.lang.Object
org.apache.felix.scr.impl.helper.ComponentServiceObjectsHelper

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

    • ComponentServiceObjectsHelper

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

    • 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)