Interface OsgiServiceTrackerCache

All Known Implementing Classes:
OsgiServiceTrackerCacheImpl

public interface OsgiServiceTrackerCache
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    Retrieves and returns a public component from OSGi land via its class.
  • Method Details

    • getOsgiComponentOfType

      @Nullable <T> T getOsgiComponentOfType(Class<T> clazz)
      Retrieves and returns a public component from OSGi land via its class.
      Parameters:
      clazz - The interface class
      Returns:
      The component, or null if not found
      Since:
      v6.4