@Singleton public class DefaultMagnoliaConfigurationProperties extends AbstractMagnoliaConfigurationProperties
MagnoliaConfigurationProperties
sets up the following list of PropertySource
:
InitPathsPropertySource
ModulePropertiesSource
(all properties exposed my modules)MagnoliaPropertiesResolver
SystemPropertySource
DefaultMagnoliaPropertiesResolver
provide a replacement for PropertiesInitializer since 4.5.log, PLACEHOLDER_PREFIX, PLACEHOLDER_SUFFIX, sources
MAGNOLIA_APP_ROOTDIR, MAGNOLIA_BOOTSTRAP_ROOTDIR, MAGNOLIA_BOOTSTRAP_SAMPLES, MAGNOLIA_CACHE_STARTDIR, MAGNOLIA_CONTEXTPATH, MAGNOLIA_EXCHANGE_HISTORY, MAGNOLIA_REPOSITORIES_CLUSTER_CONFIG, MAGNOLIA_REPOSITORIES_CLUSTER_MASTER, MAGNOLIA_REPOSITORIES_CONFIG, MAGNOLIA_REPOSITORIES_HOME, MAGNOLIA_SERVERNAME, MAGNOLIA_UPLOAD_TMPDIR, MAGNOLIA_UTF8_ENABLED, MAGNOLIA_WEBAPP
Constructor and Description |
---|
DefaultMagnoliaConfigurationProperties(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
protected static List<PropertySource> |
makeSources(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver)
Deprecated.
since 5.4.7, without replacement.
|
describe, getBooleanProperty, getKeys, getProperty, getPropertySource, hasProperty, parseStringValue, toString
@Inject public DefaultMagnoliaConfigurationProperties(MagnoliaInitPaths initPaths, ModuleRegistry moduleRegistry, MagnoliaPropertiesResolver resolver)
public void init() throws Exception
init
in interface MagnoliaConfigurationProperties
init
in class AbstractMagnoliaConfigurationProperties
Exception
@Deprecated protected static List<PropertySource> makeSources(MagnoliaInitPaths initPaths, ModuleRegistry moduleRegistry, MagnoliaPropertiesResolver resolver) throws IOException
IOException
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.