if (!lockHoldingState.hasPropertyName(NameConstants.JCR_LOCKISDEEP)) {
// force reloading of the lock holding node.
itemManager.getItem(lockHoldingState.getNodeEntry());
}
PropertyState ps = lockHoldingState.getPropertyState(NameConstants.JCR_LOCKISDEEP);
ps.addListener(this);
} catch (RepositoryException e) {
log.warn("Unable to retrieve jcr:isDeep property after lock creation. {}", e.getMessage());
}
}
}