Class ServiceUtil


  • public class ServiceUtil
    extends Object
    • Constructor Detail

      • ServiceUtil

        public ServiceUtil()
    • Method Detail

      • loadRegisteredServices

        public static <C> Set<C> loadRegisteredServices​(Set<C> services,
                                                        Class<C> serviceClass,
                                                        ClassLoader classLoader)
        Loads, but does not initialize, all registered services of type `C` managed by this module container. A registered compiler task is discoverable in the META-INF/ directory as specified by ServiceLoader.