Package org.togglz.core.util
Class Services
java.lang.Object
org.togglz.core.util.Services
Helper class to lookup SPI implementations using the
ServiceLoader.- Author:
- Christian Kaltepoth
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Services
public Services()
-
-
Method Details
-
get
Lookup implementations of the supplied SPI. Please note that the order in which the implementations will occur in the collection is not specified. -
getSorted
Lookup implementations of the supplied SPI. This method requires the SPI to extendsWeightedand therefore is able to return a sorted list of implementations.
-