Class PriorityServiceLoader


  • public final class PriorityServiceLoader
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T loadService​(java.lang.Class<T> serviceClass, java.util.function.Function<T,​java.lang.Integer> priorityFunction)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadService

        public static <T> T loadService​(java.lang.Class<T> serviceClass,
                                        java.util.function.Function<T,​java.lang.Integer> priorityFunction)