public abstract class PluggableProviderRegistryService<T> extends BaseProviderRegistryService<T> implements PluggableProviderService<T>
frameworkinstanceregistry, 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, hasValidProviderSignatureregisterClass, registerInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptercanLoadWithLoader, loadCloseableWithLoader, loadWithLoaderlistDescribableProviders, listDescriptionsgetNameisCacheInstances, registerClass, registerInstance, setCacheInstancesprotected PluggableProviderRegistryService(Framework framework)
public PluggableProviderRegistryService(Framework framework, boolean cacheInstances)
public T providerOfType(java.lang.String providerName) throws ExecutionServiceException
AbstractProviderRegistryServiceproviderOfType 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>ExecutionServiceExceptionpublic java.util.List<ProviderIdent> listProviders()
listProviders in interface ProviderService<T>listProviders in class AbstractProviderRegistryService<T>