public void refresh(SimpleXAResource[] resources) throws SimpleXAResourceException { if (logger.isDebugEnabled()) { logger.debug("Obtaining phase on StringPoolSession " + System.identityHashCode(this)); } this.resources = resources; synchronized (this.globalLock) { this.persistentStringPool.refresh(); this.persistentNodePool.refresh(); // !!Review: Call rollback on temporary? NB. Can't rollback non XA-SP/NP. //this.temporaryStringPool.refresh(); //this.temporaryNodePool.refresh(); for (int i = 0; i < this.resources.length; i++) { this.resources[i].refresh(); } } }