org.priha.core.locks
Class QLock.Impl

java.lang.Object
  extended by org.priha.core.locks.QLock.Impl
Enclosing class:
QLock

public class QLock.Impl
extends java.lang.Object

The implementation which is per Session.

Author:
jalkanen

Constructor Summary
QLock.Impl(SessionImpl session)
           
 
Method Summary
 java.lang.String getLockOwner()
           
 java.lang.String getLockToken()
           
 Node getNode()
           
 QLock getQLock()
           
 boolean isDeep()
           
 boolean isLive()
           
 boolean isSessionScoped()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QLock.Impl

public QLock.Impl(SessionImpl session)
Method Detail

getQLock

public QLock getQLock()

getLockOwner

public java.lang.String getLockOwner()

getLockToken

public java.lang.String getLockToken()

getNode

public Node getNode()

isDeep

public boolean isDeep()

isLive

public boolean isLive()
               throws RepositoryException
Throws:
RepositoryException

isSessionScoped

public boolean isSessionScoped()

refresh

public void refresh()
             throws LockException,
                    RepositoryException
Throws:
LockException
RepositoryException