On 2010-07-06, at 1:08 PM, Mircea Markus wrote:
>
> Would this not result in a very complex implementation though?
the InterceptorChainFactory would add a parameter to the LockInterceptor, a boolean
value.
Then there would be an if in visitLockControlCommand.
The bit I don't know about is to rollback the remote lock acquisition if I cannot
acquire it locally (remember remote lock is acquired when trying to acquire local one).
Vladimir - do I have support for release a remote lock?
No you don't. We intended to have unlock but we removed it early in design phase. See
https://jira.jboss.org/browse/ISPN-48 for rationale.
Cheers,
Vladimir