org.xwiki.container
Class AbstractApplicationContext
java.lang.Object
org.xwiki.container.AbstractApplicationContext
- All Implemented Interfaces:
- ApplicationContext
Deprecated. starting with 3.5M1, use the notion of Environment instead
@Deprecated
public abstract class AbstractApplicationContext
- extends Object
- implements ApplicationContext
Base class for ApplicationContext implementations.
- Version:
- $Id: a34f980089565d6f81ce1f3495b8c8fcde1020f0 $
|
Method Summary |
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 |
AbstractApplicationContext
public AbstractApplicationContext(org.xwiki.component.manager.ComponentManager componentManager)
- Deprecated.
- Parameters:
componentManager - use to lookup ConfigurationSource component. Can't directly get the
ConfigurationSource because it depends on ApplicationContext to actually get the
configuration
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 interface ApplicationContext
- Returns:
- a
File object pointing to the root folder of the work directory
Copyright © 2004-2012 XWiki. All Rights Reserved.