REBIND and lock token submission example

OK, here is a suggested examples for REBIND and lock token submission:

Before:

+------------------+
| Root Collection  |
|  bindings:       |
|  CollW           |
+------------------+
     |
     |
     |
+-------------------------------+
| Collection C1                 |<--------+
| LOCKED infinity               |         |
| (lock token L1)               |         |
| bindings:                     |         |
| CollX               CollY     |         |
+-------------------------------+         |
     |                  |                 |
     |                  |  (creates loop) |
     |                  |                 |
+-----------------+  +------------------+ |
| Collection C2   |  | Collection C3    | |
| (inherit lock)  |  | (inherit lock)   | | 
| (lock token L1) |  | (lock token L1)  | |
| bindings:       |  | bindings:        | |
|  {none}         |  | y.gif     CollZ  | |
+-----------------+  +------------------+ |
                       |            |     |
                       |            +-----+
                       |
                   +---------------------------+
                   | Resource R2               |
                   | (lock inhereited from C1) |
                   | (lock token L1)           |
                   +---------------------------+

After:

+------------------+
| Root Collection  |
|  bindings:       |
|  CollW           |
+------------------+
     |
     |
     |
+-------------------------------+
| Collection C1                 |
| LOCKED infinity               |
| (lock token L1)               |
| bindings:                     |         
| CollX                  CollY  |         
+-------------------------------+         
     |              ^      |             
     |              |      |              
+-----------------+ | +------------------+ 
| Collection C2   | | | Collection C3    | 
|(inherited lock) | | | (inherited lock) |
|(lock token L1)  | | | (lock token L1)  |
| bindings:       | | | bindings:        |
| CollA           | | | y.gif            |
+-----------------+ | +------------------+
    |               |    |           
    +---------------+    |          
     (creates loop)      |
                   +---------------------------+
                   | Resource R2               |
                   | (inherited lock from C1)  |
                   | (lock token L1)           |
                   +---------------------------+


Should only involve passing lock token L1 in the If header of the REBIND.

- Jmi

Received on Friday, 10 December 2004 00:13:13 UTC