Package org.ametys.web.live
Class LiveAccessManager
- java.lang.Object
-
- org.ametys.web.live.LiveAccessManager
-
- All Implemented Interfaces:
Disposable
,Initializable
,Component
public class LiveAccessManager extends Object implements Component, Initializable, Disposable
LiveAccessManager for providing the write lock for synchronizing live modifications.
-
-
Constructor Summary
Constructors Constructor Description LiveAccessManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Lock
getLiveWriteLock()
Retrieves the live write lock.void
initialize()
-
-
-
Constructor Detail
-
LiveAccessManager
public LiveAccessManager()
-
-
Method Detail
-
initialize
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
getLiveWriteLock
public Lock getLiveWriteLock()
Retrieves the live write lock.- Returns:
- the lock.
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceDisposable
-
-