cl.added(pt);
pMgr.store(cl);
}
sharedStateMgr =
new VersionItemStateManager(pMgr, VERSION_STORAGE_NODE_UUID, ntReg);
stateMgr = new LocalItemStateManager(sharedStateMgr, this);
NodeState nodeState = (NodeState) stateMgr.getItemState(new NodeId(VERSION_STORAGE_NODE_UUID));
historyRoot = new NodeStateEx(stateMgr, ntReg, nodeState, QName.JCR_VERSIONSTORAGE);
// create the virtual item state provider
versProvider = new VersionItemStateProvider(this, sharedStateMgr);