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 Details

    • 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
  • Method Details

    • 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