public class Service extends Object
|Constructor and Description|
providerName- The name of the provider to load. The method first looks for a system property with this name. The value of the property is expected to be the name of a class that implements the expected provider interface.
If the system property does not exist, the method then attempts to load a resource with this name from the META-INF/services directory. The resource is expected to be a text file containing a single line that is the name of the provider class.