/**
* Initialize this object.
*/
private void init() throws RepositoryException {
XAItemStateManager stateMgr = (XAItemStateManager) wsp.getItemStateManager();
XALockManager lockMgr = (XALockManager) getLockManager();
XAVersionManager versionMgr = (XAVersionManager) getVersionManager();
/**
* Create array that contains all resources that paricipate in this
* transactions. Because some resources depend on each other, there is