public interface ProviderRegistry
Modifier and Type | Method and Description |
---|---|
MetadataProvider |
getMetadataProvider(Class<?> type)
Obtain the first MetadataProvider which handles the gives type.
|
List<MetadataProvider> |
getMetadataProviders()
Obtain list of all registered MetadataProviders
|
PersistenceProvider |
getPersistenceProvider(Class<?> type)
Return the persistence provider for a given type.
|
List<Provider> |
getProviders()
Obtain list of all registered providers.
|
List<Provider> |
getProvidersForType(Class<? extends Provider> providerType)
Obtain list of all registered providers of a given type.
|
void |
registerProvider(Provider provider)
Register a Provider.
|
boolean |
unregisterProvider(Provider provider)
Unregister a Provider if it exists.
|
void registerProvider(Provider provider)
provider
- the provider to registerboolean unregisterProvider(Provider provider)
provider
- the provider to unregisterList<Provider> getProviders()
List<Provider> getProvidersForType(Class<? extends Provider> providerType)
providerType
- the provider typeList<MetadataProvider> getMetadataProviders()
MetadataProvider getMetadataProvider(Class<?> type)
PersistenceProvider getPersistenceProvider(Class<?> type)
type
- the data object typeCopyright © 2005–2015 The Kuali Foundation. All rights reserved.