Class ProviderRegistrar
java.lang.Object
org.kuali.rice.krad.data.provider.ProviderRegistrar
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class ProviderRegistrar
extends Object
implements org.springframework.beans.factory.InitializingBean
Provides a mechanism for registering Providers in the
ProviderRegistry using Spring.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProviderRegistryThe provider registry.The providers currently assigned to the registry. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGets the provider registry.Gets the list of providers for this module.voidsetProviderRegistry(ProviderRegistry providerRegistry) Setter for the provider registry.voidsetProviders(List<Provider> providers) Sets the list of providers for this module.
-
Field Details
-
providerRegistry
The provider registry. -
providers
The providers currently assigned to the registry.
-
-
Constructor Details
-
ProviderRegistrar
public ProviderRegistrar()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
setProviders
Sets the list of providers for this module.- Parameters:
providers- list of providers
-
getProviders
Gets the list of providers for this module.- Returns:
- the list of providers for this module.
-
getProviderRegistry
Gets the provider registry.- Returns:
- the provider registry.
-
setProviderRegistry
Setter for the provider registry.- Parameters:
providerRegistry- the provider registry to set.
-