info.magnolia.init
Class DefaultMagnoliaConfigurationProperties
java.lang.Object
info.magnolia.init.AbstractMagnoliaConfigurationProperties
info.magnolia.init.DefaultMagnoliaConfigurationProperties
- All Implemented Interfaces:
- MagnoliaConfigurationProperties, PropertySource
@Singleton
public class DefaultMagnoliaConfigurationProperties
- extends AbstractMagnoliaConfigurationProperties
This implementation of MagnoliaConfigurationProperties
sets up the following list of PropertySource
:
This class along with DefaultMagnoliaPropertiesResolver
provide a replacement for PropertiesInitializer since 4.5.
- Since:
- 4.5
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
DefaultMagnoliaConfigurationProperties
@Inject
public DefaultMagnoliaConfigurationProperties(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver)
init
public void init()
throws Exception
- Specified by:
init
in interface MagnoliaConfigurationProperties
- Overrides:
init
in class AbstractMagnoliaConfigurationProperties
- Throws:
Exception
makeSources
protected static List<PropertySource> makeSources(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver)
throws IOException
- Throws:
IOException
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.