@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 |
loadJaasConfig(FileSystemHelper fileSystemHelper) |
void |
unload() |
@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()
public void loadJaasConfig(FileSystemHelper fileSystemHelper)
public void load()
protected ComponentProviderConfiguration getMainComponents()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.