public abstract class PluggableProviderRegistryService<T> extends BaseProviderRegistryService<T> implements PluggableProviderService<T>
framework
instanceregistry, registry
Modifier | Constructor and Description |
---|---|
protected |
PluggableProviderRegistryService(Framework framework) |
|
PluggableProviderRegistryService(Framework framework,
boolean cacheInstances) |
Modifier and Type | Method and Description |
---|---|
CloseableProvider<T> |
closeableProviderOfType(java.lang.String providerName) |
java.util.List<ProviderIdent> |
listProviders() |
T |
providerOfType(java.lang.String providerName)
Return the provider instance of the given name.
|
createProviderInstanceFromType, hasValidProviderSignature
registerClass, registerInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapter
canLoadWithLoader, loadCloseableWithLoader, loadWithLoader
listDescribableProviders, listDescriptions
getName
isCacheInstances, registerClass, registerInstance, setCacheInstances
protected PluggableProviderRegistryService(Framework framework)
public PluggableProviderRegistryService(Framework framework, boolean cacheInstances)
public T providerOfType(java.lang.String providerName) throws ExecutionServiceException
AbstractProviderRegistryService
providerOfType
in interface ProviderService<T>
providerOfType
in class AbstractProviderRegistryService<T>
providerName
- name of the service providerExecutionServiceException
- on errorpublic CloseableProvider<T> closeableProviderOfType(java.lang.String providerName) throws ExecutionServiceException
closeableProviderOfType
in interface ProviderService<T>
closeableProviderOfType
in class AbstractProviderRegistryService<T>
ExecutionServiceException
public java.util.List<ProviderIdent> listProviders()
listProviders
in interface ProviderService<T>
listProviders
in class AbstractProviderRegistryService<T>