|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProviderRegistry
Registry of KRAD Data Providers.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void registerProvider(Provider provider)
provider
- the provider to registerboolean unregisterProvider(Provider provider)
provider
- the provider to unregister
List<Provider> getProviders()
List<Provider> getProvidersForType(Class<? extends Provider> providerType)
providerType
- the provider type
List<MetadataProvider> getMetadataProviders()
MetadataProvider getMetadataProvider(Class<?> type)
PersistenceProvider getPersistenceProvider(Class<?> type)
type
- the data object type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |