Class DefaultRuntimeEnvironmentProfileAwarePropertySource
java.lang.Object
org.broadleafcommerce.common.config.DefaultRuntimeEnvironmentProfileAwarePropertySource
- All Implemented Interfaces:
BroadleafSharedOverrideProfileAwarePropertySource
@Order(100)
public class DefaultRuntimeEnvironmentProfileAwarePropertySource
extends Object
implements BroadleafSharedOverrideProfileAwarePropertySource
Adds a default property source to look for a
runtime-environment folder and apply the -shared overriding
mechanics to it.- Since:
- 5.2
- Author:
- Phillip Verheyden (phillipuniverse)
-
Field Summary
Fields inherited from interface org.broadleafcommerce.common.config.BroadleafSharedOverrideProfileAwarePropertySource
DEFAULT_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe folder on the classpath that contains acommon.propertiesfile.
-
Constructor Details
-
DefaultRuntimeEnvironmentProfileAwarePropertySource
public DefaultRuntimeEnvironmentProfileAwarePropertySource()
-
-
Method Details
-
getClasspathFolder
Description copied from interface:BroadleafSharedOverrideProfileAwarePropertySourceThe folder on the classpath that contains acommon.propertiesfile. Note that this cannot be prefixed with"classpath:"or any of those varieties since this drives the creation of anClassPathResourcealready based on this location.- Specified by:
getClasspathFolderin interfaceBroadleafSharedOverrideProfileAwarePropertySource
-