Class AbstractApplicationContext

    • Constructor Detail

      • AbstractApplicationContext

        public AbstractApplicationContext​(org.xwiki.component.manager.ComponentManager componentManager)
        componentManager - use to lookup ConfigurationSource component. Can't directly get the ConfigurationSource because it depends on ApplicationContext to actually get the configuration
    • Method Detail

      • getPermanentDirectory

        public File getPermanentDirectory()
        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
        a File object pointing to the root folder of the work directory