Interface IServiceHolder<T>

Type Parameters:
T -
All Known Implementing Classes:
DynamicServiceHolder

public interface IServiceHolder<T>
Holder interface for dynamic service
Author:
hengsin
  • Method Summary

    Modifier and Type
    Method
    Description
    Get service with highest service.ranking value
    Get service reference for service with highest service.ranking value
  • Method Details

    • getService

      T getService()
      Get service with highest service.ranking value
      Returns:
      service instance. null if not available or no matching service found
    • getServiceReference

      IServiceReferenceHolder<T> getServiceReference()
      Get service reference for service with highest service.ranking value
      Returns:
      IServiceReferenceHolder