@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
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) |
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
protected static List<PropertySource> makeSources(MagnoliaInitPaths initPaths, ModuleRegistry moduleRegistry, MagnoliaPropertiesResolver resolver) throws IOException
IOException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.