Package hudson.util

Class Service


  • @Deprecated
    public class Service
    extends Object
    Deprecated.
    use ServiceLoader instead.
    Load classes by looking up META-INF/services.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • Service

        public Service()
        Deprecated.
    • Method Detail

      • load

        public static <T> void load​(Class<T> spi,
                                    ClassLoader cl,
                                    Collection<Class<? extends T>> result)
        Deprecated.
        Look up META-INF/service/<i>SPICLASSNAME</i> from the classloader and all the discovered classes into the given collection.