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 Details

    • providerRegistry

      protected ProviderRegistry providerRegistry
      The provider registry.
    • providers

      protected List<Provider> providers
      The providers currently assigned to the registry.
  • Constructor Details

    • ProviderRegistrar

      public ProviderRegistrar()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • setProviders

      public void setProviders(List<Provider> providers)
      Sets the list of providers for this module.
      Parameters:
      providers - list of providers
    • getProviders

      public List<Provider> getProviders()
      Gets the list of providers for this module.
      Returns:
      the list of providers for this module.
    • getProviderRegistry

      public ProviderRegistry getProviderRegistry()
      Gets the provider registry.
      Returns:
      the provider registry.
    • setProviderRegistry

      public void setProviderRegistry(ProviderRegistry providerRegistry)
      Setter for the provider registry.
      Parameters:
      providerRegistry - the provider registry to set.