Class UploadSessionListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.container.PortalContainer,jakarta.servlet.http.HttpSessionEvent>
org.exoplatform.upload.UploadSessionListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<org.exoplatform.container.PortalContainer,jakarta.servlet.http.HttpSessionEvent>

public class UploadSessionListener extends org.exoplatform.services.listener.Listener<org.exoplatform.container.PortalContainer,jakarta.servlet.http.HttpSessionEvent>
This listener for the purpose of cleaning up temporary files that are uploaded to the server but not removed by specific actions from user The listener is triggered when a session is destroyed
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<org.exoplatform.container.PortalContainer,jakarta.servlet.http.HttpSessionEvent> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • UploadSessionListener

      public UploadSessionListener()
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.container.PortalContainer,jakarta.servlet.http.HttpSessionEvent> event) throws Exception
      Throws:
      Exception