@Singleton public class DefaultMagnoliaConfigurationProperties extends AbstractMagnoliaConfigurationProperties
MagnoliaConfigurationProperties
sets up the following list of PropertySource
:
InitPathsPropertySource
ModulePropertiesSource
(all properties exposed my modules)MagnoliaPropertiesResolver
SystemPropertySource
EnvironmentPropertySource
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_DEFINITIONS_CLASSPATH, MAGNOLIA_EXCHANGE_HISTORY, MAGNOLIA_JACKRABBIT_PASSWORD_PROPERTY, MAGNOLIA_JACKRABBIT_USER_PROPERTY, 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)
|
DefaultMagnoliaConfigurationProperties(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver,
SystemPropertySource systemPropertySource,
EnvironmentPropertySource environmentPropertySource) |
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, SystemPropertySource systemPropertySource, EnvironmentPropertySource environmentPropertySource)
@Deprecated 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–2020 Magnolia International Ltd.. All rights reserved.