Package org.alfresco.repo.webdav
Class WebDAVSessionListener
java.lang.Object
org.alfresco.repo.webdav.WebDAVSessionListener
- All Implemented Interfaces:
jakarta.servlet.http.HttpSessionListener,jakarta.servlet.ServletContextListener,EventListener
public class WebDAVSessionListener
extends Object
implements jakarta.servlet.http.HttpSessionListener, jakarta.servlet.ServletContextListener
WebDAVSessionListener is used to forcibly unlock documents that were persistently locked during user's session and were not unlocked because of some extraordinary situations such as network connection lost. Was introduced in ALF-11777 jira issue.
- Author:
- Pavel.Yurkevich
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextDestroyed(jakarta.servlet.ServletContextEvent sce) voidcontextInitialized(jakarta.servlet.ServletContextEvent sce) voidsessionCreated(jakarta.servlet.http.HttpSessionEvent hse) voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent hse) voidsetWebDAVLockService(WebDAVLockService webDAVLockService)
-
Constructor Details
-
WebDAVSessionListener
public WebDAVSessionListener()
-
-
Method Details
-
setWebDAVLockService
- Parameters:
webDAVLockService- the webDAVLockService to set
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent hse) - Specified by:
sessionCreatedin interfacejakarta.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent hse) - Specified by:
sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextDestroyedin interfacejakarta.servlet.ServletContextListener
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener
-