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.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 Constructor Description WebDAVSessionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent sce)
void
contextInitialized(javax.servlet.ServletContextEvent sce)
void
sessionCreated(javax.servlet.http.HttpSessionEvent hse)
void
sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
void
setWebDAVLockService(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:
sessionCreated
in interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
- Specified by:
sessionDestroyed
in interfacejavax.servlet.http.HttpSessionListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
-