}
private final EndpointReferenceType registerParticipant(final EndpointReferenceType participant, final String protocol)
throws com.arjuna.wsc.InvalidProtocolException, com.arjuna.wsc.InvalidStateException, com.arjuna.wsc.NoActivityException, SystemException
{
TxContextImple currentTx = null;
try
{
currentTx = (TxContextImple) _ctxManager.currentTransaction();
if (currentTx == null)
throw new com.arjuna.wsc.NoActivityException();
final CoordinationContextType coordinationContext = currentTx.context().getCoordinationContext() ;
final String messageId = new Uid().stringForm() ;
return RegistrationCoordinator.register(coordinationContext, messageId, participant, protocol) ;
}
catch (final SoapFault sf)
{