/** * Restore the state of the particpant from the specified input object stream. * @param ios The Input object stream. * @return true if restored, false otherwise. */ public boolean restoreState(InputObjectState ios) { // restore the subordinate coordinator id so we can check to ensure it has been committed try { coordinatorId = ios.unpackString(); SubordinateBACoordinator.addActiveProxy(coordinatorId); return true; } catch (IOException e) { return false; } }
/** * Restore the state of the particpant from the specified input object stream. * @param ios The Input object stream. * @return true if restored, false otherwise. */ public boolean restoreState(InputObjectState ios) { // restore the subordinate coordinator id so we can check to ensure it has been committed try { coordinatorId = ios.unpackString(); SubordinateBACoordinator.addActiveProxy(coordinatorId); return true; } catch (IOException e) { return false; } }
/** * Restore the state of the particpant from the specified input object stream. * @param ios The Input object stream. * @return true if restored, false otherwise. */ public boolean restoreState(InputObjectState ios) { // restore the subordinate coordinator id so we can check to ensure it has been committed try { coordinatorId = ios.unpackString(); SubordinateBACoordinator.addActiveProxy(coordinatorId); return true; } catch (IOException e) { return false; } }