Package | Description |
---|---|
info.magnolia.init | |
info.magnolia.init.properties |
Modifier and Type | Interface and Description |
---|---|
interface |
MagnoliaConfigurationProperties
MagnoliaConfigurationProperties instances provides access to system-wide configuration properties.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMagnoliaConfigurationProperties
Abstract implementation, providing the basic behavior expected from a
MagnoliaConfigurationProperties implementation. |
class |
DefaultMagnoliaConfigurationProperties
This implementation of
MagnoliaConfigurationProperties sets up the following list of PropertySource :
InitPathsPropertySource
/mgnl-beans.properties (list of default core components - TODO : this might move to core's module descriptor
ModulePropertiesSource (all properties exposed my modules)
Sources provided by MagnoliaPropertiesResolver
SystemPropertySource
This class along with DefaultMagnoliaPropertiesResolver provide a replacement for PropertiesInitializer since 4.5. |
Modifier and Type | Field and Description |
---|---|
protected List<PropertySource> |
AbstractMagnoliaConfigurationProperties.sources |
Modifier and Type | Method and Description |
---|---|
PropertySource |
MagnoliaConfigurationProperties.getPropertySource(String key) |
PropertySource |
AbstractMagnoliaConfigurationProperties.getPropertySource(String key) |
Modifier and Type | Method and Description |
---|---|
List<PropertySource> |
MagnoliaPropertiesResolver.getSources()
Returns the paths to load, TODO: in which order ?
|
List<PropertySource> |
DefaultMagnoliaPropertiesResolver.getSources() |
protected static List<PropertySource> |
DefaultMagnoliaConfigurationProperties.makeSources(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver) |
Constructor and Description |
---|
AbstractMagnoliaConfigurationProperties(List<PropertySource> propertySources) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPropertySource
Abstract implementation of
PropertySource , providing the basic mechanisms
for implementation based on an instance of Properties . |
class |
AbstractStreamBasedPropertySource
Abstract implementation of
PropertySource , providing the basic mechanisms
for loading Properties from a given InputStream . |
class |
ClasspathPropertySource
Simple
PropertySource wrapping Properties
loaded on the classpath from a given path. |
class |
FileSystemPropertySource
Simple
PropertySource wrapping Properties
loaded on the file system from a given path. |
class |
InitPathsPropertySource
A
PropertySource providing the paths of MagnoliaInitPaths
as properties: , ,
, and . |
class |
ModulePropertiesSource
A
PropertySource exposing properties
from all known module descriptors. |
class |
ServletContextPropertySource
Simple
PropertySource wrapping Properties
loaded with the ServletContext from a given path. |
class |
SystemPropertySource
A
PropertySource exposing all System.props properties. |
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.