|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.config.ConfigLoader
@Singleton public class ConfigLoader
This class is an entry point to all config.
Constructor Summary | |
---|---|
ConfigLoader(ModuleManager moduleManager,
ModuleRegistry moduleRegistry,
LicenseFileExtractor licenseFileExtractor,
MessagesManager messagesManager,
VersionConfig versionConfig,
javax.servlet.ServletContext context)
Initialize a ConfigLoader instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public ConfigLoader(ModuleManager moduleManager, ModuleRegistry moduleRegistry, LicenseFileExtractor licenseFileExtractor, 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)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |