org.qi4j.library.locking
Class ReadLockConcern

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

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

Applies read-lock to Composite


Field Summary
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
ReadLockConcern()
           
 
Method Summary
 Object invoke(Object o, Method method, Object[] objects)
           
protected  void lock(Lock lock)
          Fix for this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6822370
 
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 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

Parameters:
lock -