Interface ApplicationContext

  • All Known Implementing Classes:
    AbstractApplicationContext

    @Deprecated(since="3.5M1")
    public interface ApplicationContext
    Deprecated.
    use the notion of Environment instead
    Version:
    $Id: 0538542144c462d739caca4cae4a30edadb8d0e2 $
    • Method Detail

      • getResourceAsStream

        InputStream getResourceAsStream​(String resourceName)
        Deprecated.
      • 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 File object 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 File object pointing to the root folder of the work directory