com.calitha.concurrent
Class LockInvocationHandler
java.lang.Object
com.calitha.concurrent.LockInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class LockInvocationHandler
- extends Object
- implements InvocationHandler
A LockInvocationHandler is used in a proxy to create
and use mutually exclusive locks.
- Author:
- Robert van Loenhout
- See Also:
RWLockInvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockInvocationHandler
public LockInvocationHandler(Object realObject)
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws IllegalAccessException,
InvocationTargetException
- Specified by:
invoke in interface InvocationHandler
- Throws:
IllegalAccessException
InvocationTargetException