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)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classHook point for our database-backed properties to the Spring Environment -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.core.env.Environmentprotected SystemPropertiesService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterSystemPropertySource(org.springframework.context.event.ContextRefreshedEvent refreshed)
-
Field Details
-
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)
-