public class ProviderFactory
extends java.lang.Object
Provider
Modifier and Type | Method and Description |
---|---|
static ProviderFactory |
getInstance()
Obtain singleton instance of factory.
|
Provider |
getProvider(java.lang.String property,
java.lang.String defaultClass)
Find appropriate provider.
|
public static ProviderFactory getInstance()
public Provider getProvider(java.lang.String property, java.lang.String defaultClass)
property
- System property under which to find class name of provider implementation.defaultClass
- Name of provider to use if all else fails (this should always be able to instantiate).