ICEfaces
  1. ICEfaces
  2. ICE-7558

Add API to proactively clean up files generated by outputResource

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03, 3.0.RC1
    • Fix Version/s: EE-1.8.2.GA_P04
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      -
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The exported files are not removed from memory when they are no longer needed (e.g. navigation) or the user's session is no longer valid. The deleteOnExit flag value appears to be true but the files are not deleted until the JVM terminates, which may not happen for months or years in a production environment. We should add an API that will allow developer's to forcefully delete these files within the application.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27126 Tue Jan 10 08:48:45 MST 2012 mircea.toma ICE-7558 Introduced FileResource callback registration method to notify the finishing of resource serving to interested parties. Register callback with FileResource in DataExporter to deregister resource and remove file from the file system.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/FileResource.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/dataexporter/DataExporter.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Tyler Johnson
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: