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.properties
file.
-
Constructor Details
-
DefaultRuntimeEnvironmentProfileAwarePropertySource
public DefaultRuntimeEnvironmentProfileAwarePropertySource()
-
-
Method Details
-
getClasspathFolder
Description copied from interface:BroadleafSharedOverrideProfileAwarePropertySource
The folder on the classpath that contains acommon.properties
file. Note that this cannot be prefixed with"classpath:"
or any of those varieties since this drives the creation of anClassPathResource
already based on this location.- Specified by:
getClasspathFolder
in interfaceBroadleafSharedOverrideProfileAwarePropertySource
-