SPI: local vs remote checking

2007-02-23 Thread Julian Reschke
Hi, I am using jcr2spi on top of a custom SPI implementation, and was trying to come up with test cases that check the locking semantics (because I know they weren't complete in my implementation). After some testing I realized that JCR2SPI already does lock checking locally (see

Re: SPI: local vs remote checking

2007-02-23 Thread Angela Schreiber
Is the SPI implementation supposed to ever throw a LockException, definitely or can it rely on the transient layer doing lock checks upfront? that's a rhetoric question, right? the spi impl must not rely on the client to behave properly. but the client may cover some obvious cases (e.g.