Class DefaultServiceLoader
- java.lang.Object
-
- com.cosium.openapi.annotation_processor.loader.DefaultServiceLoader
-
- All Implemented Interfaces:
ServiceLoader
public class DefaultServiceLoader extends Object implements ServiceLoader
Created on 14/07/17.- Author:
- Reda.Housni-Alaoui
-
-
Constructor Summary
Constructors Constructor Description DefaultServiceLoader()
-
-
-
Method Detail
-
load
public <T> List<T> load(Class<T> serviceType)
- Specified by:
loadin interfaceServiceLoader- Type Parameters:
T- The service type- Parameters:
serviceType- The service type- Returns:
- All the available instances for the service type
-
-