All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atomikos.recovery.tcc.rest.DefaultTccTransport Maven / Gradle / Ivy

There is a newer version: 4.0.6
Show newest version
/**
 * Copyright (C) 2000-2017 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.recovery.tcc.rest;

import javax.ws.rs.client.WebTarget;

import com.atomikos.icatch.HeurRollbackException;
import com.atomikos.icatch.tcc.rest.ParticipantAdapterImp;

public class DefaultTccTransport implements TccTransport {

	@Override
	public void put(String uri) throws HeurRollbackException {
		WebTarget target = ParticipantAdapterImp.createJaxRsClientForUri(uri);
		ParticipantAdapterImp.callConfirmOnJaxrsClient(target);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy