info.magnolia.init
Class DefaultMagnoliaConfigurationProperties

java.lang.Object
  extended by info.magnolia.init.AbstractMagnoliaConfigurationProperties
      extended by 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

Field Summary
 
Fields inherited from class info.magnolia.init.AbstractMagnoliaConfigurationProperties
log, PLACEHOLDER_PREFIX, PLACEHOLDER_SUFFIX, sources
 
Constructor Summary
DefaultMagnoliaConfigurationProperties(MagnoliaInitPaths initPaths, ModuleRegistry moduleRegistry, MagnoliaPropertiesResolver resolver)
           
 
Method Summary
 void init()
           
protected static List<PropertySource> makeSources(MagnoliaInitPaths initPaths, ModuleRegistry moduleRegistry, MagnoliaPropertiesResolver resolver)
           
 
Methods inherited from class info.magnolia.init.AbstractMagnoliaConfigurationProperties
describe, getBooleanProperty, getKeys, getProperty, getPropertySource, hasProperty, parseStringValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMagnoliaConfigurationProperties

@Inject
public DefaultMagnoliaConfigurationProperties(MagnoliaInitPaths initPaths,
                                                     ModuleRegistry moduleRegistry,
                                                     MagnoliaPropertiesResolver resolver)
Method Detail

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–2014 Magnolia International Ltd.. All rights reserved.