@Singleton public class ConfigLoader extends Object
Constructor and Description |
---|
ConfigLoader(ModuleManager moduleManager,
ModuleRegistry moduleRegistry,
LicenseFileExtractor licenseFileExtractor,
MessagesManager messagesManager,
VersionConfig versionConfig,
javax.servlet.ServletContext context)
|
ConfigLoader(ModuleManager moduleManager,
ModuleRegistry moduleRegistry,
ProductDescriptorExtractor productDescriptorExtractor,
MessagesManager messagesManager,
VersionConfig versionConfig,
javax.servlet.ServletContext context)
Initialize a ConfigLoader instance.
|
Modifier and Type | Method and Description |
---|---|
protected ComponentProviderConfiguration |
getMainComponents() |
void |
load()
Load magnolia configuration from repositories.
|
void |
load(javax.servlet.ServletContext servletContext)
Deprecated.
since 4.5, use
load() , dependencies are injected. |
void |
unload() |
void |
unload(javax.servlet.ServletContext servletContext)
Deprecated.
since 4.5, use
unload() , dependencies are injected. |
@Inject public ConfigLoader(ModuleManager moduleManager, ModuleRegistry moduleRegistry, ProductDescriptorExtractor productDescriptorExtractor, MessagesManager messagesManager, VersionConfig versionConfig, javax.servlet.ServletContext context)
info.magnolia.cms.beans.runtime.SystemProperty
context
- ServletContextTODO - some of the dependencies here don't belong, we're only calling init() on those, which should be moved to a lifecycle management api (IoC has one)
@Deprecated public ConfigLoader(ModuleManager moduleManager, ModuleRegistry moduleRegistry, LicenseFileExtractor licenseFileExtractor, MessagesManager messagesManager, VersionConfig versionConfig, javax.servlet.ServletContext context)
public void unload(javax.servlet.ServletContext servletContext)
unload()
, dependencies are injected.public void unload()
public void load(javax.servlet.ServletContext servletContext)
load()
, dependencies are injected.public void load()
protected ComponentProviderConfiguration getMainComponents()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.