Class SystemPropertiesPropertySourceRegistrar

java.lang.Object
org.broadleafcommerce.common.config.service.SystemPropertiesPropertySourceRegistrar

@Component("blSystemPropertiesPropertySourceRegistrar") public class SystemPropertiesPropertySourceRegistrar extends Object
Registers the SystemPropertiesService with the Spring Environment. This happens after the Spring ApplicationContext has been refreshed in order to give a chance for all of the Broadleaf MT/Enterprise InvocationProviders etc to be initialized.
Author:
Phillip Verheyden (phillipuniverse)
  • Field Details

    • propsSvc

      @Autowired protected SystemPropertiesService propsSvc
    • env

      @Autowired protected org.springframework.core.env.Environment env
  • Constructor Details

    • SystemPropertiesPropertySourceRegistrar

      public SystemPropertiesPropertySourceRegistrar()
  • Method Details

    • registerSystemPropertySource

      @EventListener public void registerSystemPropertySource(org.springframework.context.event.ContextRefreshedEvent refreshed)