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 instead
Base class for
ApplicationContext implementations.- Version:
- $Id: bc40c1f08edf8df55b971235f0eb6fbc89bd1b32 $
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractApplicationContext(org.xwiki.component.manager.ComponentManager componentManager) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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, waitMethods inherited from interface org.xwiki.container.ApplicationContext
getResource, getResourceAsStream, getTemporaryDirectory
-
Constructor Details
-
AbstractApplicationContext
public AbstractApplicationContext(org.xwiki.component.manager.ComponentManager componentManager) Deprecated.- Parameters:
componentManager- use to lookupConfigurationSourcecomponent. Can't directly get theConfigurationSourcebecause it depends onApplicationContextto actually get the configuration
-
-
Method Details
-
getPermanentDirectory
Deprecated.Description copied from interface:ApplicationContextGets 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:
getPermanentDirectoryin interfaceApplicationContext- Returns:
- a
Fileobject pointing to the root folder of the work directory
-