Package org.xwiki.container
Class AbstractApplicationContext
- java.lang.Object
-
- org.xwiki.container.AbstractApplicationContext
-
- All Implemented Interfaces:
ApplicationContext
@Deprecated(since="3.5M1") public abstract class AbstractApplicationContext extends Object implements ApplicationContext
Deprecated.use the notion of Environment insteadBase class forApplicationContext
implementations.- Version:
- $Id: bc40c1f08edf8df55b971235f0eb6fbc89bd1b32 $
-
-
Constructor Summary
Constructors Constructor Description AbstractApplicationContext(org.xwiki.component.manager.ComponentManager componentManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description File
getPermanentDirectory()
Deprecated.Gets the root directory which the container must provide for storing persisting data.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.container.ApplicationContext
getResource, getResourceAsStream, getTemporaryDirectory
-
-
-
-
Constructor Detail
-
AbstractApplicationContext
public AbstractApplicationContext(org.xwiki.component.manager.ComponentManager componentManager)
Deprecated.- Parameters:
componentManager
- use to lookupConfigurationSource
component. Can't directly get theConfigurationSource
because it depends onApplicationContext
to actually get the configuration
-
-
Method Detail
-
getPermanentDirectory
public File getPermanentDirectory()
Deprecated.Description copied from interface:ApplicationContext
Gets the root directory which the container must provide for storing persisting data. The content of this directory will remained unchanged after a restart of the container.- Specified by:
getPermanentDirectory
in interfaceApplicationContext
- Returns:
- a
File
object pointing to the root folder of the work directory
-
-