org.qi4j.library.locking
Class ReadLockConcern

java.lang.Object
  extended by org.qi4j.api.concern.ConcernOf<java.lang.reflect.InvocationHandler>
      extended by org.qi4j.library.locking.ReadLockConcern
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

@AppliesTo(value=ReadLock.class)
public class ReadLockConcern
extends ConcernOf<java.lang.reflect.InvocationHandler>
implements java.lang.reflect.InvocationHandler

Applies read-lock to Composite


Field Summary
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
ReadLockConcern()
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object o, java.lang.reflect.Method method, java.lang.Object[] objects)
           
protected  void lock(java.util.concurrent.locks.Lock lock)
          Fix for this bug: http://bugs.sun.com/bugdatabase/view_bug.do?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadLockConcern

public ReadLockConcern()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object o,
                               java.lang.reflect.Method method,
                               java.lang.Object[] objects)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

lock

protected void lock(java.util.concurrent.locks.Lock lock)
Fix for this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6822370

Parameters:
lock -