throws WrongStateException, UnknownTransactionException,
SystemException
{
try
{
TransactionManagerImple tm = (TransactionManagerImple) TransactionManager.getTransactionManager();
final TxContextImple txContext = (TxContextImple) tm.currentTransaction();
final String id = txContext.identifier();
final W3CEndpointReference completionCoordinator = tm.enlistForCompletion(getCompletionParticipant(id, txContext.isSecure()));
_completionCoordinators.put(id, completionCoordinator);
}
catch (com.arjuna.wsc.AlreadyRegisteredException ex)
{