org.qi4j.library.locking

## Class ReadLockConcern

- java.lang.Object
- - org.qi4j.api.concern.ConcernOf<InvocationHandler>
  - - 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

    Constructors
    Constructor and Description
    `ReadLockConcern()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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?

    - ### 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` - the lock to be acquired.