/* */ try
/* */ {
/* 78 */ OutputStream _os = _request("register_resource", true);
/* 79 */ ResourceHelper.write(_os, r);
/* 80 */ _is = _invoke(_os);
/* 81 */ RecoveryCoordinator _result = RecoveryCoordinatorHelper.read(_is);
/* 82 */ RecoveryCoordinator localRecoveryCoordinator1 = _result;
/* */ return localRecoveryCoordinator1;
/* */ }
/* */ catch (RemarshalException _rx)
/* */ {
/* */ }
/* */ catch (ApplicationException _ax)
/* */ {
/* 87 */ String _id = _ax.getId();
/* 88 */ if (_id.equals("IDL:omg.org/CosTransactions/Inactive:1.0"))
/* */ {
/* 90 */ throw InactiveHelper.read(_ax.getInputStream());
/* */ }
/* 92 */ throw new RuntimeException("Unexpected exception " + _id);
/* */ }
/* */ finally
/* */ {
/* 96 */ _releaseReply(_is);
/* */ }
/* */
/* */ }
/* */
/* 101 */ ServantObject _so = _servant_preinvoke("register_resource", _opsClass);
/* 102 */ if (_so == null)
/* 103 */ throw new UNKNOWN("local invocations not supported!"); TransactionServiceOperations _localServant = (TransactionServiceOperations)_so.servant;
/* */ RecoveryCoordinator _result;
/* */ try {
/* 108 */ _result = _localServant.register_resource(r);
/* */ }
/* */ finally
/* */ {