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
ModulePropertiesSource (all properties exposed my modules)
Sources provided by MagnoliaPropertiesResolver
SystemPropertySource
EnvironmentPropertySource
This class along with DefaultMagnoliaPropertiesResolver provide a replacement for PropertiesInitializer since 4.5. |
class |
InitPhaseMagnoliaConfigurationProperties
This implementation of
MagnoliaConfigurationProperties is used during startup-phase. |
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> |
DefaultMagnoliaPropertiesResolver.getSources() |
List<PropertySource> |
MagnoliaPropertiesResolver.getSources()
Returns the paths to load, TODO: in which order ?
|
protected static List<PropertySource> |
DefaultMagnoliaConfigurationProperties.makeSources(MagnoliaInitPaths initPaths,
ModuleRegistry moduleRegistry,
MagnoliaPropertiesResolver resolver)
Deprecated.
since 5.4.7, without replacement.
|
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 |
EnvironmentPropertySource
A
PropertySource exposing the current environment variables . |
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: "magnolia.webapp", "magnolia.app.rootdir",
"magnolia.servername", and "magnolia.contextpath". |
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–2020 Magnolia International Ltd.. All rights reserved.