Package hudson.util
Class Service
java.lang.Object
hudson.util.Service
Deprecated.
Load classes by looking up
META-INF/services.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidload(Class<T> spi, ClassLoader cl, Collection<Class<? extends T>> result) Deprecated.Look upMETA-INF/service/<i>SPICLASSNAME</i>from the classloader and all the discovered classes into the given collection.static <T> List<T>loadInstances(ClassLoader classLoader, Class<T> type) Deprecated.
-
Constructor Details
-
Service
public Service()Deprecated.
-
-
Method Details
-
loadInstances
Deprecated.- Throws:
IOException
-
load
Deprecated.Look upMETA-INF/service/<i>SPICLASSNAME</i>from the classloader and all the discovered classes into the given collection.
-
ServiceLoaderinstead.