Package ninja.utils

Class ForwardingServiceLoader<T>


  • public class ForwardingServiceLoader<T>
    extends Object
    Forwards method calls to an underlying java.util.ServiceLoader -- mainly to allow participating and mocking in unit tests. Designed to be a drop-in replacement at the source-code level since java.util.ServiceLoader is final.