java.lang.Object
com.pervasive.datarush.commons.util.ServiceLookup
Provides a means of looking up services of a particular type. Allows services
to be dynamically defined by adding a file of the service name under the
META-INF/services area. The file contains the names of classes that implement
the service.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>createServices(Class<T> service) Return a list of objects that implement the desired service.
-
Method Details
-
createServices
Return a list of objects that implement the desired service.- Type Parameters:
T- the type of service- Parameters:
service- the class of the service- Returns:
- a list of objects that implement the service
-