Class SimpleServiceLoader<S>

java.lang.Object
codechicken.mixin.util.SimpleServiceLoader<S>

public class SimpleServiceLoader<S> extends Object
Basically a re-implementation of ServiceLoader that does things a little differently.

Services are only class loaded and not instantiated, useful for some applications. poll() must be called to actually load stuff, new services found directly after that poll operation can be obtained via getNewServices(), this set is cleared each time poll() is called. All found services can be retrieved via getAllServices().

Created by covers1624 on 15/11/18.