*
* @param parent parent of the <code>ISMLocking</code> element
* @return ISM locking factory
*/
protected ISMLockingFactory getISMLockingFactory(final Element parent) {
return new ISMLockingFactory() {
public ISMLocking getISMLocking() throws RepositoryException {
Element element = getElement(parent, ISM_LOCKING_ELEMENT, false);
if (element != null) {
return parseBeanConfig(element).newInstance(ISMLocking.class);
} else {