Package org.alfresco.repo.webdav
Class WebDAVSessionListener
- java.lang.Object
-
- org.alfresco.repo.webdav.WebDAVSessionListener
-
- All Implemented Interfaces:
java.util.EventListener,javax.servlet.http.HttpSessionListener,javax.servlet.ServletContextListener
public class WebDAVSessionListener extends java.lang.Object implements javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextListenerWebDAVSessionListener 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 Constructor Description WebDAVSessionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent sce)voidcontextInitialized(javax.servlet.ServletContextEvent sce)voidsessionCreated(javax.servlet.http.HttpSessionEvent hse)voidsessionDestroyed(javax.servlet.http.HttpSessionEvent hse)voidsetWebDAVLockService(WebDAVLockService webDAVLockService)
-
-
-
Method Detail
-
setWebDAVLockService
public void setWebDAVLockService(WebDAVLockService webDAVLockService)
- Parameters:
webDAVLockService- the webDAVLockService to set
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent hse)
- Specified by:
sessionCreatedin interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
- Specified by:
sessionDestroyedin interfacejavax.servlet.http.HttpSessionListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
-