final int transactionExpires = arjunaContext.getTransactionExpires() ;
if (transactionExpires > 0)
{
coordinationContext.setExpires(new AttributedUnsignedIntType(transactionExpires)) ;
}
final EndpointReferenceType registrationCoordinator = new EndpointReferenceType(new AttributedURIType(registrationCoordinatorURI)) ;
InstanceIdentifier.setEndpointInstanceIdentifier(registrationCoordinator, arjunaContext.getTransactionIdentifier()) ;
coordinationContext.setRegistrationService(registrationCoordinator) ;
TerminationCoordinatorProcessor.getProcessor().activateParticipant(new BusinessActivityTerminatorImple(), arjunaContext.getTransactionIdentifier()) ;