Class ImplementationManagerImpl


  • public class ImplementationManagerImpl
    extends java.lang.Object
    Created by Elec332 on 21-4-2020
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T loadService​(java.util.Collection<T> allServices, java.lang.Class<T> type)  
      static <T> java.util.Collection<java.util.ServiceLoader.Provider<T>> loadServiceProviders​(java.lang.Class<T> type, java.lang.ModuleLayer layer, java.lang.ClassLoader classLoader, java.lang.String defaultImpl)  
      static <T> java.util.Collection<T> loadServices​(java.util.Collection<java.util.ServiceLoader.Provider<T>> allServices, java.lang.Class<T> type, java.lang.String defaultImpl)  
      • Methods inherited from class java.lang.Object

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

      • ImplementationManagerImpl

        public ImplementationManagerImpl()
    • Method Detail

      • loadService

        public static <T> T loadService​(java.util.Collection<T> allServices,
                                        java.lang.Class<T> type)
      • loadServices

        public static <T> java.util.Collection<T> loadServices​(java.util.Collection<java.util.ServiceLoader.Provider<T>> allServices,
                                                               java.lang.Class<T> type,
                                                               java.lang.String defaultImpl)
      • loadServiceProviders

        public static <T> java.util.Collection<java.util.ServiceLoader.Provider<T>> loadServiceProviders​(java.lang.Class<T> type,
                                                                                                         java.lang.ModuleLayer layer,
                                                                                                         java.lang.ClassLoader classLoader,
                                                                                                         java.lang.String defaultImpl)