Interface ServiceAware<T>

All Known Implementing Classes:
ServiceConfiguration

@ProviderType public interface ServiceAware<T>
  • Method Details

    • getService

      T getService()
    • getService

      T getService(org.osgi.framework.ServiceReference<T> reference)
    • getServices

      List<T> getServices()
    • getServiceReference

      org.osgi.framework.ServiceReference<T> getServiceReference()
    • getServiceReferences

      List<org.osgi.framework.ServiceReference<T>> getServiceReferences()
    • getServiceType

      Class<T> getServiceType()
    • getTracked

      SortedMap<org.osgi.framework.ServiceReference<T>,T> getTracked()
    • getTrackingCount

      int getTrackingCount()
    • isEmpty

      boolean isEmpty()
    • size

      int size()
    • waitForService

      T waitForService(long timeout) throws InterruptedException
      Throws:
      InterruptedException
    • getCardinality

      int getCardinality()
    • getFilter

      org.osgi.framework.Filter getFilter()
    • getTimeout

      long getTimeout()
    • close

      void close()