Package org.xwiki.container
Interface ApplicationContext
- All Known Implementing Classes:
AbstractApplicationContext
Deprecated.
- Version:
- $Id: 0538542144c462d739caca4cae4a30edadb8d0e2 $
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the root directory which the container must provide for storing persisting data.getResource(String resourceName) Deprecated.getResourceAsStream(String resourceName) Deprecated.Deprecated.Gets the directory which the container must provide for storing temporary data.
-
Method Details
-
getResourceAsStream
Deprecated. -
getResource
Deprecated.- Throws:
MalformedURLException
-
getTemporaryDirectory
File getTemporaryDirectory()Deprecated.Gets the directory which the container must provide for storing temporary data. The contents of this directory may be deleted between container restarts (temporary, as the name implies), so it is not a safe place to store permanent/important data.- Returns:
- a
Fileobject pointing to a directory that the application can use for storing temporary files
-
getPermanentDirectory
File getPermanentDirectory()Deprecated.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.- Returns:
- a
Fileobject pointing to the root folder of the work directory
-
Environmentinstead