if (cacheBehaviour == CacheBehaviour.OBSERVATION) {
try {
if (lockHoldingState.hasPropertyName(NameConstants.JCR_LOCKISDEEP)) {
PropertyState ps = lockHoldingState.getPropertyState(NameConstants.JCR_LOCKISDEEP);
ps.removeListener(this);
}
} catch (ItemNotFoundException e) {
log.debug("jcr:lockIsDeep doesn't exist any more.");
} catch (Exception e) {
log.warn(e.getMessage());