public class ServiceProviderLocator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_FACTORY
The default ServiceProviderFactory assumed if there is none specified
in the resource definition factory.
|
static java.lang.String |
MANUAL_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
static ServiceProviderLocator |
getInstance()
Get the instance of ServiceProviderLocator.
|
ServiceProvider |
getServiceProvider(ServiceProviderInformation serviceProviderInfo)
Get the service provider info for the given service, get an instance of
the ServiceProvider class.
|
public static final java.lang.String DEFAULT_FACTORY
public static final java.lang.String MANUAL_FACTORY
public static ServiceProviderLocator getInstance()
public ServiceProvider getServiceProvider(ServiceProviderInformation serviceProviderInfo) throws ProviderConfigurationException
serviceProviderInfo - Information about the service provider. serviceProviderInfo
cannot be null.ProviderConfigurationException - If there was a problem with the provider configuration