org.qi4j.library.locking
Class WriteLockConcern

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


Field Summary
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
WriteLockConcern()
           
 
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

WriteLockConcern

public WriteLockConcern()
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