org.jboss.aop.util
Class AOPLock

java.lang.Object
  extended by org.jboss.aop.util.AOPLock

public class AOPLock
extends Object

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Constructor Summary
AOPLock()
           
 
Method Summary
 void lockRead()
          Read-lock just this level
 void lockWrite()
          Write-lock just this level
 void unlockRead()
          Read-unlock just this level
 void unlockWrite()
          Write-unlock this level
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AOPLock

public AOPLock()
Method Detail

lockRead

public final void lockRead()
Read-lock just this level


unlockRead

public final void unlockRead()
Read-unlock just this level


lockWrite

public final void lockWrite()
Write-lock just this level


unlockWrite

public final void unlockWrite()
Write-unlock this level



Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.