Class DefaultServiceLoader

  • All Implemented Interfaces:
    ServiceLoader

    public class DefaultServiceLoader
    extends Object
    implements ServiceLoader
    Created on 14/07/17.
    Author:
    Reda.Housni-Alaoui
    • Constructor Detail

      • DefaultServiceLoader

        public DefaultServiceLoader()
    • Method Detail

      • load

        public <T> List<T> load​(Class<T> serviceType)
        Specified by:
        load in interface ServiceLoader
        Type Parameters:
        T - The service type
        Parameters:
        serviceType - The service type
        Returns:
        All the available instances for the service type