Interface IServicesHolder<T>

  • Type Parameters:
    T -
    All Known Implementing Classes:
    DynamicServiceHolder

    public interface IServicesHolder<T>
    Author:
    hengsin
    • Method Detail

      • getServices

        List<T> getServices()
        Get list of service, sorted by service.ranking (from highest to lowest ranking)
        Returns:
        list of service instance. null if not available or no matching service found
      • getServiceReferences

        List<IServiceReferenceHolder<T>> getServiceReferences()
        Get list of service reference, sorted by service.ranking (from highest to lowest ranking). If you want to cache service, cache IServiceReferenceHolder instead of the actual service object
        Returns:
        list of IServiceReferenceHolder