org.qi4j.library.locking
Class WriteLockConcern
java.lang.Object
org.qi4j.api.concern.ConcernOf<InvocationHandler>
org.qi4j.library.locking.WriteLockConcern
- All Implemented Interfaces:
- InvocationHandler
@AppliesTo(value=WriteLock.class)
public class WriteLockConcern
- extends ConcernOf<InvocationHandler>
- implements InvocationHandler
Applies write-lock to Composite
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteLockConcern
public WriteLockConcern()
invoke
public Object invoke(Object o,
Method method,
Object[] objects)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
lock
protected void lock(Lock lock)
- Fix for this bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6822370