public interface ProviderManager
ProviderFactory
objects and the creation
of Providers.Modifier and Type | Method and Description |
---|---|
void |
addProviderFactory(ProviderFactory providerFactory)
Adds a new
ProviderFactory to the registry. |
Provider |
createProvider(DynObject serviceParameters,
ProviderServices providerServices)
Creates a new
Provider . |
ProviderServices |
createProviderServices(Service service)
Creates a new
ProviderServices object to be used by the
Provider s. |
DynObject |
createServiceParameters(java.lang.String serviceName)
Creates the parameters for the
Provider created by the factory
with the given name. |
void addProviderFactory(ProviderFactory providerFactory)
ProviderFactory
to the registry.providerFactory
- to addProvider createProvider(DynObject serviceParameters, ProviderServices providerServices) throws ServiceException
Provider
.serviceParameters
- for the Provider
providerServices
- to be used by the Provider
Provider
ServiceException
- if the parameters are not valid or there is an error creating
the Provider
ProviderServices createProviderServices(Service service)
ProviderServices
object to be used by the
Provider
s.service
- to create the related ProviderServices
with.DynObject createServiceParameters(java.lang.String serviceName) throws ServiceException
Provider
created by the factory
with the given name.serviceName
- name of the factory to create the Provider
ServiceException